AI-499 : reference editing:
- added validation if name of instance is the same;
- provided unique name on "add" new instance;
- disabled OK button if state is not valid and show validation message.
Merge remote-tracking branch 'origin/version3' into version3

Conflicts:
	server/src/main/java/org/activityinfo/ui/full/client/i18n/UIConstants.java