Improved the search result view: Groups results by project

The SearchResult view now groups the search result by projects
rather than files.

Fixes #56
Ups, import in a way that works for indigo/juno
Removed a deprecation and renamed a type alias.
Merge pull request #82 from dragos/github-56-group-hits-by-project

Group hits by project