fix(frontends/lean/elaborator): 'as-is' expressions

The elaborator should not introduce implicit arguments on terms marked
as 'as-is'.
refactor(kernel/macro_definition_cell): improve macro get_type API
refactor(kernel/macro_definition_cell): improve macro get_type API