added results order (see test.sql for example) to function arguments, fixed limit (it really returns limit rows, and not limit - offset :-\), added est_cond_delete(cond) so that we don't leek memory