QI_GEN_RANGE: New. QI_GEN with specified max value.
QI_GEN_RANGE: New. QI_GEN with specified max value.

Change-Id: Iad1a3b7624e7eaa5f296c3b2845c180eefe509c8

aldebaran/libqi,aldebaran/libqi,bsautron/libqi,aldebaran/libqi,vbarbaresi/libqi