Changes for OBF-232 Change serialisation of IMObjectReference for details nodes to enable comparison

git-svn-id: svn://svn.openvpms.org/openvpms/framework/trunk@6222 9e4fa352-aafb-0310-9071-df624684024b
Merged changes from trunk for OBF-232 Change serialisation of IMObjectReference for details nodes to enable comparison

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