Added static file support and MIME type detection.

Bumped version to 0.4.0.
Template support plus use example.

Templating is based on the Tclssg implementation of tmpl_parser
(http://wiki.tcl.tk/20363#pagetoc06d3740e).