internal/legacy: new package
fix tests
internal/router, internal/legacy: use TrimPrefix
Merge pull request #97 from rogpeppe/041-legacy-api

internal/legacy: new package

We add a stub server for the legacy API. It has a version of "" because
the legacy API was not versioned. Currently all endpoints remain
unimplemented.