[Design] Moving <div id="content"> from content pages to header and footer

This allows to print error messages and debug information, identified as content.

This also allows applications to quickly echo a string instead to use a full template.