ISPN-4276 Make JPA cache store work in Karaf

https://issues.jboss.org/browse/ISPN-4276
@mgencur, fixed the mockito dep.