feat(frontends/lean/server): add VISIT and CHECK commands

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