[BIND] Fix bug with function binding
[TYPE] Fix bug with component_add() on Class type
[TYPE] Add MethodVar type checking
[TEST] Add some tests on objects/classes