Fix references to root packages not working inside classes.
Add type resolution into compilation unit where necessary.
Remove manual disambiguation in names.nab since this is now fixed in NaBL.
Add imports to names.nab to remove errors in generated file.