closed #2418: Unused spriteframes also need to be removed when purgeCachedData.
Merge pull request #3209 from dumganhar/iss2418-purge-cache

closed 2418: Unused spriteframes also need to be removed when purgeCachedData.