Squash commit of IE8 fixes to Dialog_Mouse and robot InlineEditBox test failures:

remove unused modules from dependency list, and upgrade to use new dojo/Deferred code, refs #14279 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30274 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 1c2a6492099288bb5175d739a9a4cfe7991fe7ce)

use dijit/tests/helpers::waitForLoad rather than duplicating code, refs #7681

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30675 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 0511989d893c3eed93786867d5251d553654395d)

Don't assume that the focus manager is loaded or dojo.subscribe is defined in the iframe.   For AMD tests they may not be.   Plus fixing a few references to the dojo global.  Refs #14279 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30802 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit be71dd8ce1ed291cb9a267e07f6febad19653e03)

For dijit/tests/helpers::onFocus(), if focus changes multiple times during the specified delay, return the latest focus to the callback.    Fixes a problem in the cancel test in Dialog_mouse.html: due to [23488], focus first goes to the close icon and then goes back to the button.  Perhaps the close icon should only get tabIndex=-1 when there are no focusable elements in the dialog?   For now, just changing the dijit/tests/helpers::onFocus() method.  Refs #8285 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30805 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 21cb189911489e2ec9a42ced8d7913a401999296)

Conflicts:
	tests/robot/Dialog_mouse.html