Require at least Doctrine ORM 2.2

[skip ci]
Fix problem with annotation auto-loading

Somehow annotations could not be autoloaded. I found a simple solution
for it.

[skip ci]
Make library compatible with PHP 5.3

Specifically by replacing value object creation with the unserialize
trick, instead of depending on a PHP 5.4 ReflectionClass method.