Fix bug in scope passing for file fragments
Move completion-gathering logic into tern.js, more configurability

By default, it now returns a plain array of completions again. A bunch
of query properties can be used to add extra info or disable heuristics.
Add a very crude Vim plugin