Implement DOMImplementation.hasFeature

Fixes #4010.
auto merge of #4027 : znewman01/servo/issue4010, r=Ms2ger

Fixes #4010.

This is my first Servo contribution, so let me know if I missed anything!