Basic skeleton for DOMException

Spec:
http://dom.spec.whatwg.org/#domexception

This is a subtask for #1542.