cache-control headers in integrated wms, GEOS-5686

- cleanup interceptor, add max-age header from layer metadata if
  declared
- add test