Added isExpressionOfType helper method
Updated validation util to not make null-checks
Merge branch 'master' of https://github.com/feupeu/SW401F14-Xtext