refactored cache dependency methods.
Added GroupDependency.
Fixes issue #421: yii\db\Schema:refresh() does not clear all cache