Inline two images only used by the dialog
Adding a code version mismatch detection feature. Fixes Issue #2710

* Hook up the code version check middleware.
* Use the BrowserID-Version header in all WSAPI requests to signal which version of the code is being used.
* Make sure all the /wsapi calls in the tests have BrowserID-Version headers
* Update version retreival to occur asynchronously.
Update generate_code_version with @ozten's suggestions.

* Move generate_code_version.js into lib.
* Simplify generate_code_version.js's logic.
* Bubble error messages up to invoking functions.
* Use generate_code_version.js when fetching '/build/code_version.js'
* Only server '/build/code_version.js' in non-production environments.
Disable ejs escaping of escaped RP siteName. Fixes #3007.
Merge pull request #2934 from shane-tomlinson/issue_2710_wsapi_ver_lock

Issue 2710 wsapi ver lock
Implement onmatch in the Observer API

Closes #2648
Closes #2017
Merge pull request #3024 from 6a68/issue_3007_double_escaping_rp_info

Disable ejs escaping of already-escaped fields. Fixes #3007.

hot hot HOT! Things are escaped exactly once. I dig.

![Screen Shot 2013-02-20 at 19 07 17](https://f.cloud.github.com/assets/848085/177309/f8f440b4-7b90-11e2-8662-3a5de3b851fd.png)
transparently use either http or https for kpi data, point kpi_backend to kpiggybank-stage in aws config
Send kpi POST through proxy
Added comment explaining proxy is for outgoing requests
Merge pull request #3025 from kparlante/kpi-live

Kpi live

This is good stuff @kparlante. Bring on the KPIs!

r+
Do not attempt to cachify data-uris
Merge branch 'inline_dialog_css_images' into dev
Use the newest connect-fonts and connect-fonts-opensans

* Fix the problem with Russian (ru) using the default font. It now uses Cyrillic
* Add Swedish (sv)
* Add Slovak (sl)
* Re-alias Portuguese (pt) to Spanish (es)
* Make sure Brazillian Portuguese (pt_BR) uses Spanish (es)
Merge pull request #3027 from callahad/issue_2648_onmatch

Implement onmatch in the Observer API
Merge pull request #3031 from shane-tomlinson/issue_3029_font_locale_updates

Use the newest connect-fonts and connect-fonts-opensans
compress authentication_api.js and provisioning_api.js for production.

fixes #3020
Fix the reference error in the front end unit tests.
Fix the sign-in-test selenium test.

Only use one personatestuser email. Since we were always signing in an existing user, only one user is really needed.

Along with lloyd/personatestuser.org#38, this handles #3037
Merge pull request #3039 from shane-tomlinson/issue-3032-ref-error-in-tests

Fix the reference error in the front end unit tests.