Move command-line client to another package

As discussed, we should move the command-line client to another package, since it depends on the beat.web API. This creates some sort of reverse dependence which we should get rid of.