Fixing pagination
Fixing API query generation bug

`DEFAULT_QUERY` was remembering previous query
Merge branch 'master' into pagination
Fixing `pageNum` not being `null` problem
Merge branch 'master' into pagination
Fixing 'running over' issue
Rebuilding page number generation
Merge pull request #358 from andrewhayward/pagination

Pagination