Rename normalize context to local_context. Create context. Fix bug in name.cpp

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Add type checker. Fix normalization with non-empty context

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

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Fix bugs in type checker

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

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