[2.6] Added support for Service Discovery in Spark

@anew: Please review. Thanks.

Build running here: https://builds.cask.co/browse/CDAP-DUT109-3


Missing full-stop for the first statement. Also, for abstract base class, it's useful to tell what does it do and what does it expect sub-classes to override.