Add global BufstopGetBufferInfo function

I'm writing a plugin (https://github.com/bentomas/bufstop_tabline) that needs access to the bufstop buffer info, so this commit adds a global function to get it.