Inject doctrine listeners with locator if setLocator method is found.
Merge branch 'refs/heads/release'