Added optional template_file to Writer Init

To support reusing the writer for templating other pages as well
Added the ability to generate media pages

This included creating a modified version of the colorbox
theme including a template for the media page. the media_page
plugin uses that theme to template a new page per media file