List tags filtering by popular or all and paginated

It closes #26.
Can this `previousPage` function return a `gotoPage` to `-1` or `0`?