Pull clone command into commands.py and put it under unit test.
Fix bug when handling missing --ignore-revs option, and add test for the clone command with minimal options.
Get the clone command to recognize the -r option.