Query cache: redo how sorts are determined for abstract queries.

Abstract queries being ones that don't have a postgres query backing
them.

This allows for different sorts to be returned based on the parameters
to the function rather than the sort being fixed at decoration time.
Query cache: allow non-thing first arguments.
Update controversy algorithm to take magnitude more into account.
Controversy: be defensive against negative ups/downs (bad data)
Comment JSON: add score attr
Stop displaying upvote/downvote numbers

This removes all displays of specific upvote/downvote numbers through
both the site and API, and only displays score.

Due to the API not previously including score for comments, all apps
were calculating the score themselves by doing ups - downs. So as to not
break everything, we now pass the score as the number of upvotes as
well, and always say that there are 0 downvotes. This should result in
still showing correct scores, but will make it look like nothing is ever
being downvoted in any apps that expose ups/downs.
"% like it": get value from compute_votes
Link: don't hide new link scores for mods
Merge branch 'master' into patch-2