doc(doc/lua): add variable and lambda abstraction API documentation

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