Added polling mode to pull replicator

Add property “poll” to a continuous pull replicator’s options.
Value is poll interval in ms; minimum 30000.
Improved documentation of -[CBLView setMapBlock:reduceBlock:version:]

In particular, the meaning of the return value was previously undocumented.
Fix race condition deleting a persistent replication

Fixes #176