(#105) - batch the persisted mapreduce updates

This batches the updates fetched from db.changes()
to a max batch size of 50 (may change later) in order
to avoid reading every document into memory.