Feature parity of Mojo with CLI.

Add support for roots, not emitting options, and the registry class.
Merge pull request #111 from square/jw/mooojjjooooooo

Feature parity of Mojo with CLI.