Introduce a CLI to Quail

Not quite ready for commit, but good enough to start reviews.