ISPN-3016 REST Metadata headers

https://issues.jboss.org/browse/ISPN-3016

Please note that I removed the "lastModified" field from the MIMECacheEntry class and I'm now using the InternalCacheEntry data to compute that field.