moved reusable DB stuff to iface_plugin

*by calling add_supported_dbms in __init__ of a plugin the db
functionality of a plugin gets activated
*a class that handles statements for a special DBMS is then
reinitialized every time a db connection changes