adjust to factory having non-static methods

depends on https://github.com/phpcr/phpcr/pull/61 but no changes to jackalope/jackalope needed