Refactors read_type, fixes read_qualified_id.
This introduced some regressions (11 new errors in files which did not error).
This also corrected 400 other errors and was completely necessary for any further progress.
I will have to examine where and why the regression occurred. It was probably something really nasty...