Move code for checking existence and getting funcs into vim bindings
Remove unused code
Implement caching for tagbar segment

Ref #700