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.
@awholegunch Can you review this change?