improve packages footer #11

* Add info from #11
* Add packages per page to config
* If nothing found render message about that
* Raise not found for pagination out of range
* Fix pagination bugs and next/prev links