DB Module Work

Updated the DB modules to be insync with all the API and GUI changes.
Moved the DB controllers into gui.widgets and gave a try at making them
work.  They need a qtselectionmodel still to show properly.