Performance: avoid unnecessary round trip to database for User entity

We are already caching the user's identity along with the auth token,
so no need to refetch.
Performance: Refactored site history rendering

Site history queries were being issued for every new
site selection, and far too much data was being sent over
the wire to render on the browser.

We purposely do not want to commit to making all sitehistory
offline, so there's no reason we can't render it on the server.

Also an opportunity to start moving towards the new model
on the server, because it simplifies dealing with properties:
instead of three seperate special cases for projects, partners,
locations, etc, we treat them uniformally as reference fields.
Removed unused GetReportDef command
Merge branch 'site-history' into version3

Conflicts:
	server/src/main/java/org/activityinfo/core/shared/Cuid.java
	server/src/main/java/org/activityinfo/core/shared/Iri.java
	server/src/main/java/org/activityinfo/core/shared/LocalizedString.java
	server/src/main/java/org/activityinfo/core/shared/form/FormClass.java
	server/src/main/java/org/activityinfo/core/shared/form/FormInstance.java
	server/src/main/java/org/activityinfo/core/shared/form/has/HasHashCode.java
	server/src/main/java/org/activityinfo/core/shared/hash/HashCode.java
	server/src/main/java/org/activityinfo/legacy/shared/adapter/CuidAdapter.java
	server/src/main/java/org/activityinfo/server/forms/SiteFormAdapter.java
	server/src/main/resources/org/activityinfo/database/changelog/db.changelog-master.xml