Add tests for inline minification in PHP files, correct typos.
Prevent side-effects of content type testing.
Use configurable content type for detection of minifiable content.

  - Allows minification of arbitrarily proxied resources.
  - Uses a locally-defined MIME type to detect PHP files.