Bugfix: Literal type was not resolved when AS keyword used in aliased expression clause

Small refactoring
Initial implementation of MODEL MEASURES clause semantics