Remove woefully inadequate query parameter preservation in datagrids.

We had code to preserve some of the query parameters across pagination links
for the datagrids, but it was very inadequate. I've done a much better
implementation in djblets, which means that this can go away.

Reviewed at https://reviews.reviewboard.org/r/5355/