Implement the paginations system in the backend, allow query packages with status info

The pagination takes a page number and a number of items per page
and return the corresponding slice of the data.

search_packages accepts a status argument rather than the Deprecated boolean.
Status defaults to 'Approved'.