- add common Database class which can be used to connect to
  database backends providing DB API 2 implementation
- make use of common Database class in dblog plugin