Remove needless code.

This `OK(())` should be propagated from `Element.set_attribute()`.
Split up the utility function to make internal attribute's namespace.
Enable only remove operation for Document::update_idmap().
Add the comment to explain the dual declaration.
Implement Element.removeAttribute()/removeAttributeNS().
auto merge of #1448 : saneyuki/servo/attr, r=jdm
Remove unused imports.
auto merge of #1481 : Ms2ger/servo/unused-imports-2, r=metajack
Implement Document::doctype

Closes #1482.