Use DOM4 exception instead of legacy names

Patch generated mostly with the following script, assuming GNU sed:

    #!/bin/sh
    FILE=index.html

    sed -i 's/INDEX_SIZE_ERR/IndexSizeError/' $FILE
    sed -i 's/HIERARCHY_REQUEST_ERR/HierarchyRequestError/' $FILE
    sed -i 's/WRONG_DOCUMENT_ERR/WrongDocumentError/' $FILE
    sed -i 's/INVALID_CHARACTER_ERR/InvalidCharacterError/' $FILE
    sed -i 's/NO_MODIFICATION_ALLOWED_ERR/NoModificationAllowedError/' $FILE
    sed -i 's/NOT_FOUND_ERR/NotFoundError/' $FILE
    sed -i 's/NOT_SUPPORTED_ERR/NotSupportedError/' $FILE
    sed -i 's/INUSE_ATTRIBUTE_ERR/InUseAttributeError/' $FILE
    sed -i 's/INVALID_STATE_ERR/InvalidStateError/' $FILE
    sed -i 's/SYNTAX_ERR/SyntaxError/' $FILE
    sed -i 's/INVALID_MODIFICATION_ERR/InvalidModificationError/' $FILE
    sed -i 's/NAMESPACE_ERR/NamespaceError/' $FILE
    sed -i 's/INVALID_ACCESS_ERR/InvalidAccessError/' $FILE
    sed -i 's/TYPE_MISMATCH_ERR/TypeMismatchError/' $FILE
    sed -i 's/SECURITY_ERR/SecurityError/' $FILE
    sed -i 's/NETWORK_ERR/NetworkError/' $FILE
    sed -i 's/ABORT_ERR/AbortError/' $FILE
    sed -i 's/URL_MISMATCH_ERR/URLMismatchError/' $FILE
    sed -i 's/QUOTA_EXCEEDED_ERR/QuotaExceededError/' $FILE
    sed -i 's/TIMEOUT_ERR/TimeoutError/' $FILE
    sed -i 's/INVALID_NODE_TYPE_ERR/InvalidNodeTypeError/' $FILE
    sed -i 's/DATA_CLONE_ERR/DataCloneError/' $FILE
    sed -i 's/INVALID_POINTER_ERR/InvalidPointerId/' $FILE
Merge fixes
Merge branch '379-new-exception-names' into gh-pages