Bug 840124 - implement postMessage API for remote report (code), r=jaws, f=gps+gavin

--HG--
extra : rebase_source : d2ea2c4d5e237695d0f51ad35e5e3ad4dc263b61
Bug 840124 - implement postMessage API for remote report (tests) r=jaws, f=gps+gavin