Initial reconnect logic for MySQL.
Added database exporters.

Allow for exporting from database to flat file.
Removed unnecessary new call in SQLiteImport and added a close call.