Added new `Head()` function which generates the html header inclusive doctype and so on.

This function currently supports XHTML 1.1 and HTML 5