Support cocos2d-x 3.0 in plugin

@folecr
This pull request is used to discuss the support of cocos2d-x 3.0 in plugin.