issue #2404:created CCDprecated.h and move all global functions and variables into it
issue #2404:re-add some global functions and variables and mark them as deprecated
issue #2404:remove unneeded files
issue #2404:fixed some compiling errors
issue #2404:fixed some compiling warnings
Merge branch 'add-deprecated-header' of https://github.com/minggo/cocos2d-x into add-deprecated-header
Merge pull request #3154 from minggo/add-deprecated-header

Add deprecated header