CDAP-527: update SparkPageRank program to read directly from stream

This PR does not contains changes in docs. They will be added in separate PR