1.fixed lose disconnected event.
2.fixed incorrect device name and device id;
update test case
update API annotation.
Merge pull request #7329 from Dhilan007/v3-gc-refactor

issue #4689:Fixed lose disconnected event and incorrect device name/id.
[ci skip]
Merge pull request #14 from cocos2d/v3

update to new versions