Store methods in the metatable of each userdata type.

This is cleaner and will allow to better implement behavior for all
objects of a type using metatable tricks.
Also (temporarily?) disable lookup optimizations beacause they are wrong
when the entry is implemented in the metatable.