Added a new compiler pass to register as many doctrine sessions as entity managers