Add a deletion strategy for sequel

This also include a speed-up trick for postgres in a separate commit. I can separate both in a different PR if needed. 

Tested against Postgres, but it *should* work against MySQL too.

I am not very familiar with Postgres but is it possible to have some triggers enabled and others disabled before we start the deletion?