api.py: improve QueryGenerator efficiency

Limit management is currently done on the first module, while
the other limited modules are left with default limits.

Limit for such modules is set to max possible value, in order to reduce
the number of requests and make queries faster.

Change-Id: I1c9d96b7bfb121a1b58bd6361dee69691ec5703c
Merge "api.py: improve QueryGenerator efficiency"