Cursor::getSingleResult() should not use keys in toArray()

This allows a document with a non-scalar identifier to be returned.
Merge pull request #150
Changelog entry for 1.0.5
Merge branch '1.0.x'

Conflicts:
	lib/Doctrine/MongoDB/Cursor.php
Changelog entry for 1.1.2