various smaller cleanups
fixed another 2.3 issue, see https://github.com/sonata-project/SonataDoctrineMongoDBAdminBundle/pull/72
Merge pull request #164 from sonata-project/cleanups

various smaller cleanups