Add checkpointing to the Python API

This pull request adds checkpointing support to the Python API ([STREAMING-32](https://spark-project.atlassian.net/browse/STREAMING-32)).