AI-499 : form designer boilerplate code
AI-499 : show dialog on click
AI-499 : added gwt-dnd dependency
AI-499 : styles setup for form designer
AI-499 : DnD for widget buttons
Merge branch 'version4' of github.com:bedatadriven/activityinfo into version4
Code cleanup: removing usused classes
(imported from the future)

Removing dead code

Removed unused GeneratePivotElement
Removed unused GetSiteAttachments
Removed unused GetMapIcons command
Removed unused field from GetReports
Removed unused GetUploadUrl command
Removed unused SearchResult class
Removed unused countInstances() method on ResourceLocator
Removed unused UploadAttachment command
Removed unused DTOs SearchHitDTOs, OrgUnitListResult
Removed unused /healthCheck endpoint

Replaced SelfKeyProvider with gwt-provided SimpleKeyProvider

Conflicts:

	server/pom.xml

Removed SerXX classes, to be replaced by Record interface

Removed unused HashCode/HashCode interfaces

We won't be able to use hashes for version identity as some clients will not have permission to view
all fields on an instance and so will receive a different hash value.

I think we will need something closer to vector dot clocks for version numbers.

Conflicts:

	server/src/main/java/org/activityinfo/core/shared/form/FormClass.java

Removes unused classes
Code cleanup: Removed IRI Class
Code cleanup: removed unused translations
Code cleanup: Removed LocalizedString wrapper

In the end we will need to provide translation of user resources through
a separate set of dictionaries rather than storing multiple locales in
the same field.
AI-572 Imported FieldTypes from the future
Corrected errors in pom.xml
Corrected GWT module files
fixing build : org.activityinfo.fp.FunctionalProgramming -> Promises
Corrected GWT module files
Merge branch 'version4' of github.com:bedatadriven/activityinfo into version4

Conflicts:
	server/src/main/java/org/activityinfo/core/Core.gwt.xml
Readds gwt-gson to project
AI-499 : removed #formdesigner place, we are going to keep form designer under /#i/<id>/designer
missed file
AI-499 : widgets panel layout