improved database panel in debug module

Improved debug module database panel. This issue is related with https://github.com/yiisoft/yii2/issues/1668 and https://github.com/yiisoft/yii2/issues/1478