Added istanbul code coverage
added support for document rev (for optimistic locking)
updated UI to support document revision
Added robustness to the document revision. Added test coverage.