General cleanup for coverage commands. Renamed/retyped various commands and options to be more consitent. Dumped a lot of old and unused code. Using nested transactions to allow nested calls of commands.
Removed unused imports.
Adapting jenkins tests to new command interface.