html: consume an initial head/metadata event

When the HTML parser is set to be a basic metadata parser (i.e.
not processing any RDFa or microdata) then the metadata before the
body node is read.

To implement this, a dummy event is generated when transitioning
from the "in head" to "after head" states. The html reader then
consumes this event in the constructor.