Use new search result interface
Created by: attfarhan
This PR makes commit, diff, and repo search use fields from the generic search result interface merged in https://github.com/sourcegraph/sourcegraph/pull/998. This change is backwards compatible, and only affects results if the Sourcegraph instance connected to the CLI has a build date after Dec 10, 2018.