fix pom oldcore include
move implementation to xwiki package to have access to package private
methods to be able to influence the rights
skip cache where necessary to get it to work