Added extremely basic checking back in for constraint violations-- leadup to adding proper uniqueness error reporting support to all supported adapters.
Patched support for switchback while still calling errorify in update and create methods. Also added some comments.
Simplify detection.
Added 'rules' helper.