Patch #establish_connection to do Multidb.init

We've had issues with running rake tasks when using `multidb`. I've reworked its initialization a bit. Now it happens every time `establish_connection` is called inside which I'm passing connection config to `multidb` instead of doing that when accession `connection`.

/cc @tamird