Fixed type (textual) in __init__. Switched __init__ and DB_Mysql to use getattr for settings (nicer in your GUI's!).

DB_Mysql now checks settings are there at the start.
Moved connection into connect() function for clarity.
database_extend set on self with default of True if not in settings.
Little code tidying.