improving pagination for JSON output

now uses a custom-written controller concern, instead of the Kaminari gem
Merge pull request #2 from transit-land/json-collection-pagination

improving pagination for JSON output