Add tests for inline minification in PHP files.
Prevent side-effects of content type testing.
Use content type instead of file extension to detect minifiable content.

Allows minification of arbitrarily proxied resources.