Fix allow 'implementing your own resolver' to work.

Instead of calling getEntityListenerResolver within the constructor, getEntityListenerResolver is called when resolving the User's EntityListenerResolver.

For this to work, the EntityManager em is stored as a property, since it's needed to getEntityListenerResolver.

Since the $resolver property is no longer being used, it is removed.