Add binding for Document (getElementsByName)
Add a test for getElementsByName
auto merge of #620 : sonwow/servo/bindings, r=jdm

It's just a part of bingings for Document.