[SPARK-2377] Python API for Streaming

This patch brings Python API for Streaming.

This patch is based on work from @giwa
I'd maybe add a note here saying that PythonTransformFunctionSerializer is logically a singleton that's happens to be implemented as a Python object.