Added support for reference finding and renamed API.

Inspiration taken from lyuts/vim-rtags