feat(library/tactic): polish tactic API, and add new example showing how to implement tactics using Lua

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(library/tactic): polish tactic API, and add new example showing how to implement tactics using Lua