fix updating of Documents with event subscribers

fix for https://github.com/doctrine/phpcr-odm/issues/526

* [ ] add a test that converts a value back and forth via postLoad/prePersist events
* [ ] squash commits
We might add 

```php
/** @PHPCRODM\String() */
public $text;
```