Bug 997285 part 1.  Add JS_GetErrorPrototype to JSAPI.  r=jorendorff
Bug 997285 part 2.  Add [ExceptionClass] support to WebIDL.  r=peterv
Bug 997285 part 3.  Make DOMException [ExceptionClass].  r=peterv
Bug 997285 part 4.  Drop the custom stringifier from DOMException in favor of the default one on Error.prototype.  r=peterv
Bug 1001157.  Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult.  r=peterv