New implementation of CCFileUtils.

The previous implementation had too many edge cases when using Apple style "@2x" suffixes, and also didn't support graceful degradation for ipad (for example, trying ~ipad and then @2x).