move constructors and destructors to CC_CONSTRUCTOR_ACCESS
add needed constructors for js bindings
Merge pull request #7432 from joshuastray/transition_ctor_access

move constructors and destructors to CC_CONSTRUCTOR_ACCESS and add needed constructors for js bindings