The long awaited DbHelper
DbHelper groups logic around Db, tables, etc.
DbHelper class
Merge branch 'master' of https://github.com/piwik/piwik