Issue123movesupport

Implemented C++11 move semantics for GenericDocument, as well as related unit tests.