Store backtrace/SQL queries of failed syncs in the DB

compliments alphagov/trade-tariff-backend#192

[pivotal story](https://www.pivotaltracker.com/n/projects/488191/stories/71632648)