use extra database mapping to get correct db url
Merge pull request #238 from dimagi/extra_dbs

use extra database mapping to get correct db url