Autodetect doctrine ORM

Only (re)initialize the ORM database if the bundle uses the ORM.

Also fixed the location bundle configuration so that it doesn't generate error noise in the test run.
LocationBundle doesn't use any of this stuff but it is all required by the Admin afaict