Merge pull request #79 from kehh/importPlugin

Adding skeleton for data importer plugin
Update to installation profile

Includes changes for the object use history bundle and fields for the invertebratePalaeontology schema

* loan_in_date added to cutodial loan
* Coorinate Uncertainty > Coordinate Uncertainty
* institutionId added to removed from occurrences
* anthropologyMaterialTypes no longer required
* identified by added to invertebrate_palaeontology objects
* determination metadata element for invert palaeo
* Object Use history:
 - Consistent accross the four UI's (Natural History, Anthropology, Minerals & Palaeontology)
 - remove storage locations and loans from the objects ui's (now done via the OUH bundle
 * Place UI - close hierarchy by default
 * Added UI for EPS Palaeontology
 * Fixes to logic of loans to entities relationships, now:
  - borrowed from <=> lent to
  * Added invertebrate palaeo and vertebrate_palaeo user groups
Remove storage location from anthropology and minerals editors
Merge pull request #80 from kehh/updateProfile

Update to installation profile to include object use history bundles and some invertebrate palaeo and
Invertebrate paleo changes to profile

* adding storage location types of pallet  and drum
* List for lithostratigraphic_provenance
 - list code could not be `lithostratigraphic_provenance_types` as the code gets cut off by the profile exporter
* Add georeference to invertebrate_palaeontology
* Add line break after two fields in siteDetailsPalaeontology
* Add fields unique to invertebrate palaeontology
 - storageLocationNotes
 - number_of_specimens
 - locality
 - lithostratigraphic_provenance
* Adding to the palaeontology UI's:
 - lithostratigraphic_provenance
 - locality
 - georeference
 - number_of_specimens
 - storageLocationNotes
 - related entities (Collectors - relationship type=discover)
* permissions update reflecting latest values in the permissions tables.
Merge pull request #81 from kehh/updateProfileEpsInverts

Invertebrate paleo changes to profile
Refactor to remove unused variable
Various fixes for undefined variables

$vb_batch_mode => $vs_batch_mode
$pn_locale_id no longer defined
$ps_source_info => $pa_source_info
Fix some white space
Fix missing variable row id $vn_row_id => $vn_row
Fix missing variable $ps_loan_name
Set correct parameters for caProcessRefineryRelated
Removing incorrect phpdoc and whitespace
Merge pull request #82 from kehh/importFixes

Importer fixes
Replace incorrect object reference.
Check for object existence before dereference.
Enhancements to relationship management.

Allow addRelationship() and editRelationship() to handle multiple interstitials of the same type
(e.g. multiple "identifiedBy" values for an object_x_vocabulary_term relationship).
Add wamDataImporterPlugin.

+ Allow values to be split using configurable delimiters, to create multiple interstitials from a single source value.
+ Allow values to be transformed into IDs using DataMigrationUtils::getEntityID(), using the "_translations" sub-key
   under "interstitial" in mapping configuration.
+ Support other transformations / lookups in future if required.