Added small PySpark kmeans sample which runs in YARN. Fixed some bugs in build.sh