Emit a proper doctype

So far we were not emitting a proper doctype in our output. Easy to fix, and
does not seem to affect any tests.

The VE should also handle this well enough as they are loading the document in
an iframe. Should double-check before deployment though.

Change-Id: I4d07dfe6f6207104e256b87078cc3a5404bbd7a6