CGridView accept an array as formatter config

you can now pass an array of configuration parameters for the formatter.
if you the config contains a 'class' element, it will create a new formatter, otherwise it will clone the current formatter and set the new options to it