Bug 945095 -  Use same format to set reporter between test-agent & test-integration

Rebased version of Yuren's patch to see what Travis says and maybe rev this further.