The finale of proper exporting

* juicer repo export now accepts '-p' for pretty printing
* Properly collect the repos from show_repo in the threading code
* Actually write out the export definition
* Add check for legacy 'sha1' type repos
* Add debug_log_repo as a shorcut for debug logging repo definitions