No checkpoints in replicator

I cherry-picked the `use_checkpoints` option of the BigCouch replicator into the master branch. I also added tests and mentioned it in the docs.

This is just a first quick stab. I need to check whether it needs more documentation/tests or not.