Fixed unique validations to exclude the current object
fixed default behaviour of IsDefault definition attribute
Merge branch 'model' into dev