cmd/guess: simplifying DirnameGuesser

Related to #976.
cmd: remove the client parameter from the Guesser interface

Related to #976.
cmd: move FakeGuesser back to cmd/testing

Fixing the build, I hope :)