Add tests for most commands in PTGbot, checking that they result in
the desired outcome.
With this patch all track commands are tested, as well as most admin
commands.
Change-Id: I0a9907da6946db224a9efd2c740f275dfad0f00e
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I5d2ab99725e97437b8dc3dc805c79b4a14610d6c