Reduced max memory usage of push replicator

- Added some fixes to avoid keeping redundant data in memory
- Constrained max size of a _bulk_docs request to keep the object tree from getting too large
Fixes #270