using a factory service instead od factory class in jackrabbit.xml

using a factory service instead of an factory class to fix issue https://github.com/doctrine/DoctrinePHPCRBundle/issues/59