feat(frontends/lean/server): use definitions_cache in the server object

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