Update DoctrinePlugin to reflect Minibase changes. Much better implementation as well (in regards to caching and prod/dev mode).