Finish implementing lookup for globally visible symbols.
Enable more namespace and type completions.