implement Document#createAttribute
auto merge of #4067 : wenderen/servo/document-create-attribute, r=Manishearth

fixes #4054