added custom mime_type support for pages

I use this to generate RSS feeds with comfy.