New function sol.main.get_metatable(type_name).

This is a very powerful function, it allows to implement shared
behavior on all instances of a type.