Readded beberlei/DoctrineExtensions and marked it as deprecated, closes #890.