[CDAP-505] Added ability to infer IdentityStreamEventDecoder in StreamIn...

Added ability to infer IdentityStreamEventDecoder in StreamputFormat. Updated SparkPageRankProgram to use IdentityStreamEventDecoder.
The casting might have issue. The safer way is `if (vClass instanceOf Class && ((Class) vClass).isAssignableFrom(StreamEvent.class))`