Add tests for trace#edit
Add tests for trace#delete
Tidy up trace#edit and trace#delete and make them more consistent
Monkey patch composite_primary_keys to fix deletes via has_many

https://github.com/composite-primary-keys/composite_primary_keys/pull/170