Configurable workers

Added configuration for SPARK_MASTER_OPTS, SPARK_WORKER_INSTANCES and SPARK_WORKER_CORES