improves pagination API
adds missing spec to assert that the query() method is chainable
removing some stuff not used yet (TDD ftw)