ipro: whitelist a few contenttypes that we should record and cache

This prevents caching of html in the IPRO flow. More accurately,
it make sure that only contenttypes that are applicable will be
cached and treated as such.

It also modififies the in place resource recorder to bail out as
soon as the decision can be made that IPRO cannot be applied.