Bug 884673 - b2g.sh changes for running b2g as part of another process (valgrind, gdb, etc); r=mwu