Issue 1528 - [tdpl] overloading template and non-template functions

http://d.puremagic.com/issues/show_bug.cgi?id=1528

Mostly works.