Fixes CLI using $helpers as a hash with cli-config defining it as an array.

- Define it as the expected array('dm' => helper) hash.
- This caused "[InvalidArgumentException] The helper "dm" is not defined."
Accept boolean values for UnitOfWork hints from Cursor
Rename CursorHydrationTest to CursorTest and test hydrations
Refactor Cursor to proxy all BaseCursor methods and maintain no state

This refactor ensures that the ODM Cursor never changes state, and makes it possible to later remove extension of the BaseCursor, implement Iterator, and only compose the BaseCursor. All methods that change the cursor state proxy to the BaseCursor, and we need not override methods that simply call the underlying MongoCursor, since both the ODM Cursor and BaseCursor maintain a reference to the same MongoCursor instance.

Additionally, by removing state from the ODM Cursor, we fix an issue with recreate() being unreliable.

This commit also adds a test for preserving sort order after Cursor::recreate(), which was contributed by @levofski in #635.
Merge pull request #638 from doctrine/cursor-wrapping

Refactor ODM Cursor wrapping of base Cursor class
Merge pull request #637 from FGM/cli-dm-helper

Fixes CLI using $helpers as a hash with cli-config defining it as an arr...
Fix proxied call in Cursor::timeout()

This fixes a typo @sergponomaryov caught in 69a5bdae2b049ddd14942de11d5822f71687b18e
Remove $Id$ from file license headers
Use "public static" for consistency
Use strict equality check in AnnotationDriver factory method
Clean up sandbox example documents

Don't use MD5 binary BSON type for storing MD5 strings, since they aren't raw bytes. Also, use ArrayCollection in lieu of arrays for default values of Reference/EmbedMany fields.
Use canonical name for DocumentManagerHelper in command classes

Also add docblocks to DocumentManagerHelper.
Clean up sandbox scripts

The only functional changes are relying on Composer to autoload example document classes and simplying the HelperSet configuration.
Merge pull request #640 from doctrine/cli-cleanup

CLI sandbox and command clean up
Incorrect cardinality on the Complex References "admin comments" example.

- Cardinality is ReferenceMany, not ReferenceOne.
- small wording changes for clarity.