Functions for Spark applications

The functions for Spark applications are implemented in the SPARK_SUBMIT, APP_STATUS, and CANCEL_APP stored procedures.