ACT-1890: Multi tenancy support: QA fix + deployment migration
ACT-1890: Multi tenancy support: QA fix (and fixing update sql which was wrong)
ACT-1890: Multi tenancy support: QA fix for mysql (can’t target table in from clause)
ACT-1890: Multi tenancy support: QA fix for mysql (added method to map db-specific statements for updates)
Merge remote-tracking branch 'upstream/master'