ISPN-4301 Handle storeMetadata=false in JpaStore.process and JpaStore.purge methods

https://issues.jboss.org/browse/ISPN-4301
In community repo the build is working, although the test fails for RestStore as this does not properly honor the fetchValue and fetchMetadata attributes.