Fix for OVPMS-1470 NPE importing product data

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/trunk@5939 9e4fa352-aafb-0310-9071-df624684024b
Changes for OVPMS-1320 The standard distribution is missing document templates for some types

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/trunk@5942 9e4fa352-aafb-0310-9071-df624684024b
Merged back changes from trunk

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/branches/1.8-dev@5950 9e4fa352-aafb-0310-9071-df624684024b
Changes for OVPMS-1473 Add support for multiple customer notes linked to estimates and invoices

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/branches/1.8-dev@5951 9e4fa352-aafb-0310-9071-df624684024b
Removed UserRules default constructor

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/branches/1.8-dev@5963 9e4fa352-aafb-0310-9071-df624684024b
Added PartyRules.getContact(Collection<Contact> contacts, String type, String purpose)

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/branches/1.8-dev@5964 9e4fa352-aafb-0310-9071-df624684024b
Added MessageArchetypes.SYSTEM_MESSAGES

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/branches/1.8-dev@5965 9e4fa352-aafb-0310-9071-df624684024b
Refactored PartyRules to make ContactMatcher accessible,

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