Remove QueryResult.{as_db_rows,sort_by_frequency}.

Both only called once, and kind of awkward on the class.