cocos2d v3.1.0 support

I've updated SneakyInput to work with the recently released cocos2d 3.1.0