ServiceView: caching headers support

Added an attribute "expires" that you can set to a timedelta, this will add the HTTP headers "Expires" and "Cache-Control".