WIP
WIP
WIP
Added Connection::useMaster() and refactored code.
Implemented master balancing.
do not switch connection when in a transaction.
Fixed test brak.
Improved global configuration of assetmanager

Added `beforeCopy`, `afterCopy`, `forceCopy` properties to AssetManager

fixes #4209
Added Indonesian message translation
Merge pull request #4285 from yiisoft/global-asset-config

Improved global configuration of assetmanager
test WIP
all finished. [skip ci]
Merge pull request #4274 from yiisoft/feature-multiconnection

Support for separating Read/Write Database
Updated history [skip ci]
Fixes #4299
apply patch from miramir/yii2