Move Expression::castTo to a visitor class
Merge pull request #3247 from yebblies/castto

[DDMD] [refactor] Move Expression::castTo to a visitor class