Bug 1060464 - fix the --jsdebugger flag when running tests, also fixes bug 1060493, r=dcamp,bsmedberg