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.
To not lose the ability to have a default limit, have another endpoint ``count/{word}``. The new endpoint can delegate to the existing method with 10 as the limit.