Fix check_primary_support to read responses
Improve readability of nav links in the header nav

Might be just me, but I'm thinking this increases readability of top
navigation links by quite a bit.
add maximum_event_loop_lag to config.json; can help avoid random test failures
Merge pull request #3185 from robottaway/dev

Fix check_primary_support to read responses
Make jshint happy: globals, whitespace, === vs ==.
Fix out-of-scope variable

Refactoring in 38487557ca71cbfa934bb11c949741b5464837fe caused the variable
'url' to go out of scope.
Tweak error messages
Improve logging when looking for IdP js shims
Flip order of shim checks, warn if not production.
Merge documentation of hotfixes on train-2013.04.29 into changelog.
changes in train-2013.04.12
bump dev to 2013.04.26 after branching 2013.04.12
Configure logging earlier so errors aren't hidden.

See mozilla/browserid#3221 for where this would've helped diagnose a failure.

The fact that `require('../lib/primary');` can fail is another issue altogether.
add a js accesible cookie set by session_context to help users log in when 3rd party cookies are disabled
Call .onready if 3rd party cookies are disabled.

Prevents users from being immediately logged out if 3rd party cookies are disabled.

Set a cookie in the client before /wsapi/session_context is requested. session_context checks for the existence of this cookie and returns a new field "cookies" which is true if cookies are enabled, false otw. Checking if the cookie can be read on the server avoid the Android 3.2 and 4.0 where cookies can be read by the browser even if they are disabled.

fixes #2308
fixes #2999
Allow navigator.id.logout to be called a single time if 3rd cookies are disabled.

This allows a site to log a user out of their site, essentially falling back to .get behavior.
Set 'cookie: true' if the session cookie came through
Merge pull request #3223 from mariusz/patch-1

Improve readability of nav links in the header nav

Skinny is sat next to me and gives the r+.

Merging.

Thanks @mariusz and @6a68!
Merge pull request #3246 from callahad/cleanup_check_primary_support

Cleanup check primary support
Merge pull request #3241 from jedp/event_loop_lag

add maximum_event_loop_lag to config.json