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

@ParthGandhi The WordCount app has been updated with services instead of procedures, please take a look.
Returns total number of words, the number of unique words, and the average word length.