Bug 1054813 - Add some missing MutexAutoLocks in nsZipReaderCache. r=mwu, a=lmandel
Bug 1013004 - Fix support for sampling intervals > 1 second. r=BenWa, a=sledru
Bug 1055102 - Properly handle Unicode in Bagheera payloads. r=bsmedberg, a=sledru

It was observed that FHR was sending invalid JSON payloads to the
server. Specifically, JSON payloads contained invalid Unicode strings.

Investigation revealed that the culprint was CommonUtils.convertString()
silently swallowing high bytes. When the Bagheera client went to gzip
the JSON payload, the input buffer into gzip was missing high bytes.

This patch changes the bagheera client to UTF-8 encode strings before
gzip, thus ensuring all data is preserved. A corresponding change was
also added to the mock bagheera server implementation.

Alternatively, we could have changed CommonUtils.convertString() to
be high byte aware. However, many consumers rely on this function.
This patch is written with the intent of being uplifted and the change
performed is targeted at the specific problem.

Tests for Unicode preserving behavior have been added to both the
generic Bagheera client and to FHR. The latter test is arguably
not necessary, but peace of mind is a good thing, especially with
FHR.

See also bug 915850.
Bug 1054418 - Rewrite AppCacheUtils.jsm to use HTTP Cache v2 APIs. r=michal, a=sledru
Bug 1054819 - Ensure that the dictionary is released on the main thread. r=ehsan, a=sledru
Bug 1053517 - Enable the new HTTP cache during automation testing. r=jduell, a=test-only