Changed Built-in type keywords to Ids, resolved by a TypeRegistry.
Refactored type manipulation.
Made the lexer case-sensitive + text pre-converted to lower-case.
Cleanup types and declarations.