Minor fix when saving models with threaded validation.

Fixed bad sql code generation when disabling sql of columns/constraints.
(issue #276)

ChangeObjectOrderWidget renamed to SwapObjectsIdsWidget

Added validations to BaseObject::swapObjectsIds