Remove static from RepositoryFactory

Since upstream commit https://github.com/phpcr/phpcr/commit/237222165f85672ddae5d2f69105f5b1e431a7ee the interface no longer allows static methods.