Bug 864205 - Put the baseline memory reports in a tree.  r=jandem.

--HG--
extra : rebase_source : 96362bd538979832f1fbe6ec55e42fd9a71c22bd
Bug 864363 - Fix standalone unit test to use the JSRuntime from XPConnect. r=bsmedberg

It turns out that the JS engine asserts that we only ever have one JSRuntime
per thread. So when we spin up XPConnect in XPCOM initialization, we run into
assertions when this standalone test does JS_NewRuntime. FWIW, it probably
shouldn't be creating a random runtime and then passing that cx into Gecko
APIs anyway.

It sure would be nice if C++ unit tests could run with internal linkage... :-(
Bug 864363 - Force layout initialization in XPCOM initialization. r=bsmedberg
Bug 860438 - Remove context stack craziness from nsWindowWatcher. r=gabor

This patch should not change any behavior.