Switched to Swig_name_* functions
Fixed registerMethod to work like registerVariable
Fixing registerClass. No more wrap: unnecessary attributes