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.
Better to have the endpoints here, eg. "/stats", "count/{word}/{limit}". To the caller of the Service, the method names are not very useful.