support calling template function with typeargs

A dirty patch to make calling template function with typearg works

for example: 

    foo: func<T>(i: T){ }
    foo<Int>(1)