Moved Body tag to part of Library

also changed up how the html tag is rendered, and added body tag global
variable sets to config/layout.php