Implement DOMImplementation.hasFeature

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