Move Type::toSymbol into a free function
Move Type::totym into a free function
Move Module::toEfilename into a free function
Merge pull request #3277 from yebblies/gluefree

[DDMD] [refactor] Move some functions in glue.c into free functions