Making layout compliant with HTMLBook spec

Making layout compliant with HTMLBook spec (DOCTYPE, namespace, data-type on `<body>`); see AT-159.