Use %lmt and %ofs instead of LIMIT for dibi queries

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
WIP

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>