Add support for `max_posts` query param. Also make it easier to let
Ember support query params for sorting our tables. Just add it in one
place.