Bug 814257 - Vivien's worker thread support modules for the main thread

Verbatim from:
https://bugzilla.mozilla.org/attachment.cgi?id=722938&action=edit
Submodules with Vivien's patches applied.
status commit: in-progres routing normalization, worker bring-up