Prefetch dialog components from the communication_iframe

When the browser is idle, it will start fetching and caching the
dialog's Javascript, CSS and images. This works on IE9 and Firefox
(it's currently disabled in Chromium).

The trick is to make sure that the communication iframe is open
while the user is busy reading the RP's site. When using the
Observer API, this happens automatically at the end of the
navigator.id.watch() call.
Make use of new connect-cachify helper function
Specify the locale when prefetching the dialog stylesheet
Only emit prefetch tags in production mode

There are far too many JS/CSS files to prefetch in development
mode for prefetch to be effective (browsers seem to put a limit on
the number of files they will prefetch).
winchan detects if window gets closed

if the dialog is redirected to an IdP to do auth, and the user dismisses
the dialog then, this will let winchan detect that the dialog has been
closed. it will trigger oncancel.

fixes #1773
Replace eyedee.me with testidp.org

Stabilizes the Selenium tests again!
Fix the broken test that called `done` twice.
remove boilerplate test code, use the secondary library
partial
document changes in train-2013.05.08
bump version for train-2013.05.22
Fix typo which breaks ActiveX-based XHRs (fixes #3383)
Merge pull request #3273 from fmarier/prefetch-in-iframe-newcachify

Prefetch dialog resources in the communication_iframe

Sauce failures are due to other issues - opened PR #3388 to fix them. When merged, this PR works beautifully.

r+, I dig this. Nice work @fmarier.
Fix the cert-key-test by adding "err" before "assertion"

fixes #3389
Merge pull request #3387 from fmarier/issue3383

Fix typo which breaks ActiveX-based XHRs (fixes #3383)

After applying fix in #3391 and #3392, tests pass front and back. I'm happy. r+
Merge pull request #3391 from mozilla/issue_3389_cert_key_test

Fix the cert-key-test by adding "err" before "assertion"
make all unit tests executable
Fix IE8 failures in front end tests.

* Only focus an element if it is visible and enabled
* Blur previously focused elements before focusing new element.

fixes #3385
Merge pull request #3392 from mozilla/issue_3385_ie8_failures

Issue 3385 ie8 failures
Add background color to the delay/error and wait screens.

fixes #3393