fix flaky test

Fix flaky tests that timeout by removing dynamic module dependencies in
favor of cached module dependencies.
clean up of issue #653 that was failing in phantomjs
fix flaky test

Fix flaky tests that timeout by removing dynamic module dependencies in
favor of cached module dependencies.
Merge pull request #796 from ekashida/fix-flaky-yui

fix flaky test
Adding deprecation statements for Simple YUI
update test to include new `color-base` dependency

`color-base` used to be included in `dom-style` as a javascript file
called `color.js` and was subsequently refactored into a YUI module.

https://github.com/yui/yui3/commit/d2245af3e429dc45ec65164500d5e84dd285d66c#src/dom/js/color-deprecated.js
https://github.com/yui/yui3/commit/f6e0bd643326fb360496bab29a4a50ca622f30b0
Merge pull request #802 from ekashida/fix-loader-tests

update test to include new `color-base` dependency
Color History update
Merge branch 'dev-master' of github.com:yui/yui3 into dev-master
Fix script error bug in shape tests.
Merge remote-tracking branch 'upstream/dev-master' into dev-master
Mock Y.Lang.now for predictable throttle tests. Fixes #803
Merge branch 'master' into dev-master

Merging master back into dev-master due to an inadvertent push after a rebase.

This introduced duplicate commits with different SHAs in both branches. The
duplicated commits have the commit message "fix flaky test" and have the SHAs
3b1b3027c104847a4bb2b166eade8ea083c77b1b (master) and
3568d7d6fd111dc5e0ce5b43ea1cd8b63a55c8df (dev-master).

As part of the rebase, the following commits should get reintroduced into
master with this merge.
1d4a48de92952ffdeb7cbc240dc91d8074f4df99
641f056f18c8da90fad015c5e5f0f983c9abbd89
128072c368c0f7cca8856cdea6bd32eee0467531
YUI and Loader build for latest Gallery build
Took out arbitrary 200ms timeout. With the default poll interval at 50ms, IE had the potential to timeout before polling happened
Refactored tests to avoid explicit timeout waits where possible, and stop polling on teardown.

Moved the rest of the tests to a separate test case, and bumped up the timeouts,
even more so for IE, which has been flaky.

I believe the issue was that in some cases (with a 200ms explicit timeout) we were timing
out before the 50ms polling time came around on sluggish machines/browsers.
Added window.focus call to help with IE8 flakyness.

If the window lost focus, IE8 (like the know issue with FF) would fail
focus/blur based tests.
Merge branch 'event-valuechange-test-robustness' into dev-master
Merge branch 'deprecate-simpleyui' into dev-master
Removing hard-coded wait() value to address flaky test. CI VMs seem to sometimes take longer than 1000ms for test to execute.