Spark Integration: SparkPageRank now uses Service

Added a simple service to SparkPageRank example application to showcase how to use services in Spark.

@anew : Please review. Thanks.
Always log with exception as the last argument so that stacktrace won't get lost.