[DDMD] [refactor] Move Type::toArgTypes into a visitor class

@Ibuclaw This one is kinda gluey, sort of.