clean up templates

 - add doctypes
 - close html tags
   - not sure if this is necessary, but it's at least consistent
 - remove unneeded default
Merge pull request #41 from joshuarh/template-cleanup

clean up templates