Major update. Added a bundle to perform the Doctrine's Entity Manager flush on kernel's terminate event