changes needed for swift bindings to work

Pretty minor changes
The callback changes in Node are a pattern I think we should adopt everywhere where you would normally call a class method. This is script friendly and even c++ friendly, and will allow you to handle events without having to subclass the class.
The Acceleration class  in ccTypes has to derive from Ref, so perhaps it should be moved to somewhere else.