Fix compile problems with clang3.5
Apparently getResultType is now called getReturnType, and param is used
more consistently.
Only support clang3.5 and drop support for older versions
Merge pull request #37 from lukedirtwalker/clang3.5_fix

Fix compile problems with clang3.5