Enable passive_deletes for FolderItem and ImapUid.

There may be many entries associated with a deleted label, and it's
vastly more efficient to let the database ON DELETE CASCADE deal with
them than cascading at the ORM layer.

Also, the current code crashes because SQLAlchemy tries to UPDATE
folder_id = NULL, which is a constraint violation.