Add accumulators to PySpark

This pull request adds accumulators with the same `value`, `+=` and `AccumulatorParam` interface as the Scala ones to the Python API.