fixed bug of tolua

fixed bug:

cc.Node.myValue = 1      --crashed with error "stack overflow"

function cc.Node:myFunction()  --crashed with error "stack overflow"
end