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

@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 )
This should actually be a ``HttpURLConnection.HTTP_NO_CONTENT``.