Prevent type error in foreach() loop.

It is possible that getRepresentations() returns null, so we need to ensure that the return value is
actually an array before attempting to loop over it.
NOJIRA Make sure we don't call method on non-object
PROV-913 Relationship generator plugin

+ Plugin which automatically adds and removes relationships based on configured rules.
+ Base configuration for plugin, which does not contain any rules, but has some sensible defaults for other config items.
+ Unit tests for plugin configuration check, with various configuration files that are invalid in different ways.
+ Unit tests / integration tests for plugin functionality, which processes a template into a unique configuration file, and
  exercises the plugin through real database interactions.
+ Low level .gitignore ensures that the generated configuration file is never added to VCS.
+ Add unit tests to phpunit.xml.
+ Reformat whitespace in phpunit.xml.
GR355-9568 OpenLayers mapping - confirm on location search
PROV-912 Add-to-each mode for preflabels in batch editor

To properly support this, we have to make sure

a) that we remove [BLANK] labels before we add new ones for the
respective locale

and

b) that we don’t add multiple preferred labels for one locale, which is
certainly possible using the API but shouldn’t be via UI
Merge branch 'master-fix' into develop

Conflicts:
	app/helpers/displayHelpers.php
Fix GeocodeAttributeValueTest failures.

+ Pass $delta to numeric comparison in address lookup where accuracy is not perfect.
+ Use regexp match for string comparison in address lookup where accuracy is not perfect.
+ Swap $expected and $actual around to the right order (expected first, then actual).
+ Add test messages.
Merge pull request #100 from leftclickben/PROV911

PROV-911 Prevent type error in foreach() loop.
Merge pull request #102 from leftclickben/PROV-914

PROV-914 Fix GeocodeAttributeValueTest
Merge pull request #101 from leftclickben/PROV-913

PROV-913 Relationship generator plugin
interstitual information display
Merge pull request #103 from libis/interstitual

interstitual information display
Merge branch 'master' into master-fix

Conflicts:
	app/helpers/displayHelpers.php
Merge branch 'master-fix' into develop
NOJIRA fix tools screens
Merge branch 'develop' of github.com:collectiveaccess/providence into develop
WIP Add a dateAccuracyJoiner refinery

* derived from dateJoiner
WIP Add a dateAccuracyJoiner refinery

* derived from dateJoiner
Completed date accuracy joiner including tests
Merge branch 'dateAccuracyJoiner' of https://github.com/kehh/providence into dateAccuracyJoiner

Conflicts:
	app/refineries/dateAccuracyJoiner/dateAccuracyJoinerRefinery.php