fix repository to work as JAR

Fix ResourceCache to load resources from different JAR.
Change Jena dependency type to "pom".
update Apache Jena