Implement the "messageevent" argument to Document#createEvent. #4008
auto merge of #4257 : johnathan79717/servo/4008, r=jdm

This is a fix for issue #4008.