. changed ArchetypeService to include the query in the ArchetypeServiceException.ErrorCode.FailedToExecuteQuery exception
. changed QueryBuilder to report the qualified type name if an alias cannot be resolved
. changed IConstraint toString() implementations to slightly improve readability
. added IMObjectSorter

git-svn-id: svn://svn.openvpms.org/openvpms/framework/branches/1.8-dev@5989 9e4fa352-aafb-0310-9071-df624684024b
Added IMObjectBean methods:
. Object getDefaultValue(String name)
. boolean isDefaultValue(String name)

git-svn-id: svn://svn.openvpms.org/openvpms/framework/branches/1.8-dev@6003 9e4fa352-aafb-0310-9071-df624684024b
Merge branch 'remote-1.8'