Fixed bug in RDD checkpointing.
Fixed updateStateByKey to work with primitive types.
Merge pull request #375 from tdas/streaming

Important bug fixes
Merge branch 'streaming' into sm-updateStateByKey