Allow custom functions return types defined within less

More generic type checking for custom function return
Merge pull request #96 from kolya-ay/master

Allow custom functions return types defined within less