[BUGFIX] Make validation upon persistence work again
The validation upon persistence was dropped (more or less by accident)
when we switched to Doctrine. This change brings it back.
In addition it fixes the exception message produced in the generic
AbstractBackend when validation fails.
Releases: 1.0, 1.1