1.release array for uihelper; 2.fix bug.

when we CCDiretor::purgeCachedData, the framecache does not exist, but we can not addFrameCache through UIHelper.