adjusting to queryobjectmodelfactory cleanup

adjust to https://github.com/phpcr/phpcr/issues/68