added spark-class and spark-executor to sbin

Signed-off-by: shane-huang <shengsheng.huang@intel.com>
add admin scripts to sbin

Signed-off-by: shane-huang <shengsheng.huang@intel.com>
moved user scripts to bin folder

Signed-off-by: shane-huang <shengsheng.huang@intel.com>
add scripts in bin

Signed-off-by: shane-huang <shengsheng.huang@intel.com>
fix path

Signed-off-by: shane-huang <shengsheng.huang@intel.com>
fix paths and change spark to use APP_MEM as application driver memory instead of SPARK_MEM, user should add application jars to SPARK_CLASSPATH

Signed-off-by: shane-huang <shengsheng.huang@intel.com>
rm bin/spark.cmd as we don't have windows test environment. Will added it later if needed

Signed-off-by: shane-huang <shengsheng.huang@intel.com>
Merge branch 'reorgscripts' into scripts-reorg
refactor $FWD variable
deprecate "spark" script and SPAKR_CLASSPATH environment variable
Added a serializable wrapper for HyperLogLog
Added a countDistinct method to RDD that takes takes an accuracy parameter and returns the (approximate) number of distinct elements in the RDD.
Added countDistinctByKey to PairRDDFunctions that counts the approximate number of unique values for each key in the RDD.
Added dependency on stream-lib version 2.4.0 for approximate distinct count support.
Fixed document typo
Improved code style.
Added stream-lib dependency to Maven build
Made SerializableHyperLogLog Externalizable and added Kryo tests
Deduplicate Local and Cluster schedulers.

The code in LocalScheduler/LocalTaskSetManager was nearly identical
to the code in ClusterScheduler/ClusterTaskSetManager. The redundancy
made making updating the schedulers unnecessarily painful and error-
prone. This commit combines the two into a single TaskScheduler/
TaskSetManager.
Fixed most issues with unit tests