Rework element-creation methods to better match the spec
Rework element-creation methods to better match the spec

aroben/html5ever,aroben/html5ever,Manishearth/html5ever,Manishearth/html5ever,aroben/html5ever,Manishearth/html5ever