[WIP] Better flexibility for abstract db types

Feature was requested in yiisoft/yii#765

Todo:
- [x] tests for mysql
- [ ] tests for sqlite
- [ ] tests for mssql
- [ ] adjust documentation