Timestamp based resolving for UpdateEntries

* Refactored all the streaming write classes to reuse network IO code
* Tests for Timebased resolving
* Tests for getAndLock and putAndLock
* Fix broken MySQL repair job from previous changes
* Reimplemented multiVersionPut using getAndLock and putAndLock