[SPARK-2377] Python API for Streaming

This patch brings Python API for Streaming.

This patch is based on work from @giwa
The name is very non-intuitive. This is just an interface for defining functions that can be used in `Dstream.transform`. A more intuitive name (at least to me) is `DStreamTransformFunction`. What do you think?