Bug 932466 - Fix two exact rooting hazards in dom; r=smaug

--HG--
extra : rebase_source : 8085170b6ab76912962c19dce9e409e2f6026058
Bug 932364 - Fix an exact rooting hazard around AddSizeOfTab; r=njn

--HG--
extra : rebase_source : cb0ab85f7f850ce3c250dd75ff32a416dba7b153
Bug 877308 - Change when build backend update check it performed; r=glandium

Before, we checked if config.status was stale in any entrant Makefile
(top level or child directory). This had undesirable side-effects for
partial tree builds, notably that if the build backend was out of date,
the current Makefile was invalidated.

With this patch, we only regenerate the build config automatically in
full/toplevel builds. If an outdated build config is detected on partial
tree builds, we error. The impact of this is mitigated by having mach
build automatically ensure the build config is current.

--HG--
extra : rebase_source : a3a2c1d2bf68d1c0727352ebd9bfb785654e45bf