feat(lua): add Type function

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(lua): expose level objects in the Lua bindings

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>