added count to IMongoCollection as well as tests for it and CountOperation. Refactored some of the core functional tests to not require so much boilerplate.