Fixed pre and post CreateCollection dispatching
Merge pull request #157 from crystalservice/1.0.x

Fix createCollection event dispatching
Split EagerCursorTest into unit and functional tests

Functional test for Query preparing an EagerCursor is moved to QueryTest. EagerCursorTest is now all unit tests.
EagerCursor::getSingleResult() should always return first element
EagerCursor::getSingleResult() should return null for no results