adjust repository factory to throw exception instead of returning null
Merge pull request #83 from phpcr/factory-validation-cleanup

adjust repository factory to throw exception instead of returning null