Restart binary in setUp

Cherry-picked commits from pull #635 for restarting the binary between tests. This unblocks getting more reliable desktop B2G results.