Edit link on search

Changes the search result to take you to the file instead of downloading
Merge pull request #220 from williamschey/master

Show document on search link