[maven-release-plugin] prepare for next development iteration
Merge branch 'release/v1.5.0.0' into develop
Updated the version number to 2.0.0-SNAPSHOT.
Fix to set the paging total record count to zero when the result is null.
Factored common code into BaseCustomizableInstanceObject
Added IntanceType interface and BaseCustomizableInstanceType
Updated the add and remove attribute methods to only be accessible within the package.
Added support for attribute type order
Revert to using OpenmrsObject for AttributeType Owner type
Merge branch 'develop' of github.com:OpenHMIS/openmrs-module-openhmis.commons into develop
Have InstanceAttributeType implement CustomValueDescriptor
Fixed bug with setting attribute order
Added sorting to executeCriteria helper method.
Added script to create 'commons_ints' table that can be used to generate dates for use in reporting.
Merge branch 'develop' of github.com:OpenHMIS/openmrs-module-openhmis.commons into develop
Added new metadata base class to handle overriding and ignoring the getRetired property for json serialization.  Updating existing metadata types to use it.
Added missing copyright information.
Refactored the instance attribute design to remove extra generic type definitions and more logically use base-class properties.
Created LazyRole class to allow lazy-loading a Role.  This fixes issues with Role fields being included in results from hibernate which causes Criteria.list() to return an Object array rather than just a list of the specified entity objects.
Added sort method to base data service and updated methods which return a list of objects to use it.
Removed the prevous commit changes (adding the sort method) and added getDefaultSort method instead.
	Doing the sorting on the list after the data has been returned from the database breaks paging.
	The getDefaultSort method allow subclasses to define the sorting to use for all methods that return a List.
Refactored the purge tests slightly to work better when there are dependencies between models.