Code cleanup
DataProvider draft
Query data provider draft
Thread draft for tables and queries
Proper query execution
Merge branch 'next' into fix/lags

Conflicts:
	src/tabwidget/queryeditorwidget.cpp
	src/tabwidget/queryeditorwidget.h
Code refactoring
Merge pull request #43 from manudwarf/fix/lags

Fix/lags