Fix Ultisnips automatic parentheses insertion with function types.
Merge pull request #245 from gcmt/improve-ultisnips-auto-parentheses

Ultisnips: fix automatic parentheses insertion with function types