Updated DoctrineObject to support context aware strategies.
CS fixes.
Fixed array usage for php 5.3
Merge pull request #260 from spiffyjr/pr/patch-2

Updated DoctrineObject to support context aware strategies.
Hydrator is calling `find` on OM even with null id
Applying hotfix for #262 - null identifiers are checked upfront OM lookup
Reverting visibility change
Merge pull request #262 from doctrine/hotfix/byref-nullable-association

Hydrator is calling `find` on OM even with null id