Remove View type parameter from DocumentType
auto merge of #1048 : ttaubert/servo/documenttype, r=jdm

This should fix #1046.