Fixed CCLoader code to make it work with advanced compilation level

Closure obfuscates keys (for example ```IMAGE```) in 
```
cc.RESOURCE_TYPE = {
    IMAGE:["png", "jpg", "bmp"],
``` 
and
```
var type = this._getResType(resInfo);
switch (type) {
    case "IMAGE":
``` 
not works.