Fix error handling for duplicate question ID

http://manage.dimagi.com/default.asp?127310

@mwhite 
[Refactored the change handler](https://github.com/dimagi/Vellum/commit/49ed8c2e89340e5bdd8f5b2d6a6a5a365a126383) to allow the change to be prevented.