github_55: mongo_doc_manager._search returns mongo cursor, search() returns generator
Merge branch 'master' into github_55
github_55: refactored mongo-related tests to work with generators
github_55: using generators in get_last_doc in mongo_doc_manager.DocManager