Bringing mysqldump in line

Moved mysqldump test out of its own request and into the main command
Started work on refactoring the badly named DatabaseConnection class to use events to pass messages and errors