Apps: pre-sort a bit and also break up category trigger and match regexps.
Apps: return failed if we have no api_results, also remove unnecessary q check.
Merge pull request #711 from duckduckgo/caine/apps-relevancy

Apps: pre-sort a bit and also break up category trigger and match regexps.