CDAP-538: Ported procedures to services of SparkKMeans app; Added unittests.

@ParthGandhi The SparkKMeans app has been updated to use services instead of procedures.
Parth, I followed with all previous comments and hope it's will help for review )