Adding origin description to results (as in RE2)

For certain types of results, we add an origin description on the pull down menu. In RE2, this was done server side. This is not easliy possible no on server side because we are using sphinxsearch.