test(lua): object Lua API

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(lua): copy_values and add tests

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(lua): copy_values and add tests