Removed print statement
Refactored type/scope handling

Moved all type/scope related functions from RascalExpression to a new
module TypeUtils.