[api] Allow Sphinx pagination in searchs with large results

Beware: changes in thinking_sphinx.yml.example, which means that thinking_sphinx.yml should be updated according.

Restarting sphinx is needed in order to load the new configuration, but reindexing is not needed (the new configuration only affects to the search, not to the indexing).