Solved #286: Very slow response during pagination for large datasets

Issue: https://github.com/jfinkels/flask-restless/issues/286