Added dbi-query-fold, dbi-query-map and dbi-query-for-each