Make main_tpl.mpp valid xhtml5

xmlns, no content-type <meta>, self-closing <link>, self-closing <img>
Remove extra trailing div in core_tpl.mpp
Merge pull request #12 from dsheets/patch-1

well-formed xml