Doxygen sample in CCSprite.h

1. Fix bugs in CCDirectory & CCImage according to developer's feedback
2. Add doxygen sample in CCSprite.h & CCProtocol.