Update to use new GL bindings.
auto merge of #3851 : glennw/servo/servo_gl, r=glennw,metajack
Move build_element_from_tag out of the HTML parser.

This function is not particular to the parser, so should live in the DOM.