Added Reference Integrity

Added automatic reference integrity handling on referenced documents (ODM). It supports 'nullify' removes reference from referenced document(s) and 'restrict' which will throw an exception.

Hopefully this could be added! Let me know if there are things which could be refactored or improved.

I've also made it work in the StofDoctrineExtensionsBundle, but will create a PR once this is merged.