Added support for arbitrary id in hydrateByValue()

Added test
Spacing in DoctrineObjectTest::testCanHydrateByReferenceWithStringId()
Merge branch 'bugfix-171'