SCHEMA-201. Fixes command-line tools.

 - Fixes findbugs warnings (unable to understand setup/run/cleanup workflow).
 - Get rid of BaseTool.parseURI.
 - Fixes various NPEs in CLI tool.

Signed-off-by: Aaron Feldstein <afeldstein@wibidata.com>