improve tests
add license in LICENSE

change SPARK_LOCAL_DIR into SPARK_LOCAL_DIRS
Merge branch 'sort' into groupby