Add buildMutable method to DocumentRevisionBuilder

- Added buildMutable method to documentRevisionBuilder
- Changed visibility of MutableDocumentRevision sourceRev  constructor
  to protected
trim out these trailing newlines