add use CCComRender as parent for attaching component.
1. _EMPTYNODE -> EMPTY_NODE
2. remove isRenderer.
ccAttachComponentType -> cocos2d::extension::ccAttachComponentType
enum -> class.
private -> public.
remove AttachComponentType::XXXX
Merge pull request #5990 from chengstory/AddCreateNodeWay

Adding support of using CCComRender as parent for attached component