Fixed various type errors
Various type related fixes
Merge branch 'master' of https://github.com/cwi-swat/rascal.git