Many changes...

Sorting by approval status + appropriate changes for paginator, added a
few various general functions, added link to approval buttons (but
they're not working yet), other various little fixes