Added the fail type check to some parts of the type checker to add
missing static errors to the scope messages.
Merge branch 'master' of https://github.com/cwi-swat/rascal.git