Test fixes

It seems that Travis has changed and it is no longer possible to run `gpg` in sudo. In any case, it isn't necessary here, so we can just run it as the `travis` user.

Also, it isn't currently possible to run the tests anywhere but in the `wstool` project root. This patch makes it possible to run them with any CWD.