Refectored CCFileUtils for MAC port.
Merge remote-tracking branch 'origin/refactor-ccfileutils' into refactor-ccfileutils
Updating JS Tests.