Enable custom templates for pages generated by Shiny Server

Error pages & directory listing pages can now be controlled and customized via the `template_dir` directive. 

@jcheng5 Would love to get your thoughts on this tomorrow.