CRM-13389, CRM-13555 - Upgrade from 4.0.* to 4.4: DB Error: no such tabl...

...e civicrm_setting

Backport of https://github.com/civicrm/civicrm-core/pull/1805