fixed more parts of the type resolver
Merge branch 'master' of github.com:cwi-swat/rascal