add the ability to use local cached fonts, per bug 1274955
Merge pull request #106 from makyo/develop

This adds a message when the viewport is 1024 pixels or below. There are tests for the message creation, but not for the resize/os functionality.

Rebased and merged for huwshimi

* Improved tests.
* Refactored for testability. Updated messages. Completed tests.
* Fixed lint.
* Changes from review.
* Added detach for resize event.
* Fixed typo.
Merge pull request #104 from garyposter/localfonts

Minimal QA:
- run `make devel`.  Start chrome and open the inspector's network tab.  Open the GUI.  Verify that you are not loading any files from Google, but are loading fontfamily.css from the local files.  Verify that the charm browser tabs, the onboarding help, and the inspector look fine.
- run `make prod`.  As before, but verify that you are now loading font CSS from Google.
- run `make devel`.  Verify that the browser looks OK in Firefox too.

Note that on Ubuntu, the fonts are not actually downloaded because Ubuntu includes them.

Preferred additional QA:
- Try on IE 10, Mac OSX Chrome, and Mac OSX Firefox.  Verify that the fonts are downloaded as needed and that things look OK.
- Try Safari too.

Super-duper awesome QA:
- Deploy this in a charm and do the same browser tests.

In my experiments/QA, and unsurprisingly, the Google CDN has much better speed than the local cache when running against EC2, and the difference is quite noticeable and problematic.  Therefore, I expect that the charm will default to cachedFonts: false, and charm configuration will have to turn it on explicitly.

Thank you!