closed #11943 * Remove global.Promise * Fix brute-knex bluebird error. * Fix api-acceptance tests. * Fix unit tests