Update behavior of Document.createElement

Fixes #4009.

Only lower-case the argument to Document#createElement if it's a HTML document.
auto merge of #4029 : znewman01/servo/issue4009, r=Ms2ger

Fixes #4009.

Only lower-case the argument to Document#createElement if it's a HTML document.