mod_storage_sql2: Split out code for building WHERE clauses into separate functions
mod_storage_sql2: Add method for deleting items from archives with same syntax as :find()