[SPARK-2377] Python API for Streaming

This patch brings Python API for Streaming.

This patch is based on work from @giwa
Without this change, ssc.transform() will failed to serialize transformFunc, because the callback function from python is not serializable.