Bug 847073 - Record and print detailed summary of moz.build execution; r=glandium

--HG--
extra : rebase_source : 7d88cea873764650e62368ba40305f8cfff9d864
Bug 840268 - Fix --runapp CLI, r=fabrice