simplify and clarify error handling

- remove (unused) xform_saved signal
- flatten nested try/except so each contains only the chunk it is meant to handle
- raise and handle a specific error (DuplicateError) instead of a generic one (ResourceConflict)
- improve logging conventions

merge with https://github.com/dimagi/commcare-hq/pull/2734