Output domReady errors through console.error, preserving the error
object and stack, fixes #17349
Fix inconsistent handling of declare.safeMixin when second argument is
undefined (throws error in IE8, no-op in other browsers), which fixes
Allow downstream error handling

Allow errors to be handled after rejection passes through unhandled
rejections, so rejections don't show as unhandled if downstream promises
handle them, refs #18131.
'event' is declared 3 times in fixTouchListener; fixed
Fail gracefully if there's an error detecting high contrast mode, fixes #16541.
Squashed commit of the following:

commit 1f58495619b3d8eae3df0a6f7e01d205cea14fc7
Author: Jared Jurkiewicz <jared.jurkiewicz@gmail.com>
Date:   Thu Jun 26 11:03:00 2014 -0400

    Fix issue with parentNode as null, fixes #18130
Fix IE11 test_scroll failures.
Trident is more like IE9+ than we would have guessed.

Also disabling quirks and loose tests for IE9+.
On IE9+, an <iframe> will always run with the doctype of the main
document, regardless of what URL is loaded into the iframe.

Fixes #18124, refs #17311.
Refs #18168. Rework dojo/on's way to decide about using event delegation. Now uses feature detection, which fixes the event handling currently broken on Safari iOS 8 beta