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.
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
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