Put ellipsis into span

When the ellipsis is contained inside a link that points to `#`, clicking it scrolls to the beginning of the page which confuses users. ;)

This makes it use a `span` instead.

Also adds tests for disabled prev/next buttons at first/last page.