Restarting B2G before running tests, unlock screen improvements

Yeah so I think this is why we want to move this into the host and out of the shell script. The host api is very intentionally async.