[api] Implement pagination for taxons#index route

Fixes #3501