feat(frontends/lean): add command block reader with snapshot and resume

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