Refactor cursor info gathering functions into one.
Add MongoCommandCursor::createFromDocument

This is the implementation for what we discussed during our meeting.