Added two events to manipulate entity dirs and setup object.
Merge branch 'master' of github.com:peec/minibase-plugin-doctrine