add makeScreenshot, getPathExtension in CCUtils, add demo for makeScreenshot