made sonata user bundle compatible with fosuserbundle 1.3.*

I have added fixes to make SonataUserBundle work with FosUserBundle 1.3.*