Fixes #420 - Follow Link header links for pagination traversal.

Adds a `api/issues/paginate` endpoint which expects a `link` GET param containing the URI for next or prev page. And updates to existing code to use this new functionality.

r? @karlcow for endpoints.py
r? @magsout for rest of js?