Continue work on do_edit

 * code clean up in pwman.ui.tools
Completely remove old BaseCommands class
Finish work on do_edit