issue #3541 : Add test case for ccactions. Fix a bug for "Pre" button.
issue #3541 : Move CCDrawingPrimitives.js to core
Merge pull request #1394 from SmallAiTT/iss3541_4_testCase

issue #3541 : Add test case for ccactions. Fix a bug for "Pre" button.