Refactor database interface

The database interface had an unnecessarily compley inheritance graph. Classes
like QueryTables and QueryColumns should not be derived from Query, since they
are no queries. This also removes the need for any virtual inheritance.

Also added an interface to allow adding multiple columns at once.
Try new addColumns method
Properly handle wrong quest targets
astyle