When searching packages, keep the search box option to that category (retired/orphaned...)

fixes https://github.com/fedora-infra/pkgdb2/issues/35
Rewrite the get_pending_acl query to remove the subquery and fix the ordering

Fixes https://github.com/fedora-infra/pkgdb2/issues/32
With pagination there is no problem searching for '*'

Fixes https://github.com/fedora-infra/pkgdb2/issues/27