Fixed a bug in the identity map decorator if no object is found by getRelatedObject()

The `ezcPersistentSession` object throws an `ezcPersistentRelatedObjectNotFoundException` if `getRelatedObject()` did not found any related object, but the Decorator does not.
This problem was fixed here and the decorator now behaves like `ezcPersistentSession` does.