JCR-3825: Use RepositoryFactory for first hops

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1633070 13f79535-47bb-0310-9956-ffa450edef68
JCR-3274: jackrabbit-standalone-2.4.0.jar Populate does not work

This closes #20

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1633086 13f79535-47bb-0310-9956-ffa450edef68