add handling for integrity violations
Merge remote-tracking branch 'remotes/origin/0.4.0' into DatabaseIntegrity
Merge pull request #123 from OnroerendErfgoed/DatabaseIntegrity

Database integrity error handling