Remove extra closing tags
Make sure documents are sent with utf-8 headers

This fixes a potential html validation error
Move utf-8 encoding to template dir, and fix extensions list
Use addCharset instead of AddType
Merge pull request #639 from mfairchild365/examples

Examples W3C validaity fixes