Backported new version of CCControllExtension to remove warnings

- Fixed all warnings by backporting
https://github.com/YannickL/CCControlExtension . This modifed version
includes old property names so it continues to work with CCBuilder.