correct location of registering WebfactoryExceptionsBundle so it is loaded only in dev environment.