SERVER-15950 Optimize handing of writingPtr

* No longer need to allocate memory per call to writingPtr.
* Write intents within a single WUOW are coalesced if overlapping or adjacent.
* Committing a WUOW only grabs the groupCommitMutex once.