RFR: Batched meta reads and writes

These were all the changes that went into rax-stage for batched meta reads and writes. I added test cases for the changes.

Diff between the version of MetadataCache in rax-stage and this branch. 
https://gist.github.com/lakshmi-kannan/0ef513e686e12db38d87