[SPARK-2377] Python API for Streaming

This patch brings Python API for Streaming.

This patch is based on work from @giwa
Please add comments on what this method checks. Or just call it `_validate_window_params`