Use collectionUtils  to check if collection is empty or null.
Do not freeze the tool when an error occurred during analysis.
Use American spelling.
DB: Annotation link insert triggers for search

REINDEX event logs were only being created for annotation
and annotationlink UPDATE and DELETE actions meaning that
on new tag creation created, re-indexing of the annotated
object was not happening.

This commit adds DBInsertTriggerCheck which adds triggers
once on startup. If this fails (due to permissions, etc.)
only ERRORs will be printed to the log. An admin can then
try executing the included insert-triggers.sql file again
Move scripts in prep for regeneration
OMERO5.1DEV__6: create link insert triggers
5.1DEV__6 upgrade scripts
Add 'DROP TRIGGER' statements to insert-triggers.sql
Also delete DBInsertTriggerCheck config
Bump dbpatch in OMERO5.0__0.sql
Fix 'name = ()' syntax error
Update develop submodules

Repository: openmicroscopy/openmicroscopy
Already up-to-date.

Repository: openmicroscopy/bioformats
Updating 3086fd2..63fc1e0
Merged PRs (fast-forward):
  # PR 1123 melissalinkert 'Add a reader that accepts a file containing a file pattern'

Repository: ome/scripts
Already up-to-date.

Repository: openmicroscopy/ome-documentation
Updating 81205bb..191511b
Merged PRs (fast-forward):
  # PR 840 hflynn 'Updating team page re: Trello & Trac usage'
  # PR 841 mtbc 'clarify OMERO groups for LDAP-using sysadmins (rebased from dev_5_0)'

Generated by OMERO-5.1-latest-submods#137 (http://ci.openmicroscopy.org/job/OMERO-5.1-latest-submods/137/)
Merge pull request #2748 from snoopycrimecop/merge/develop/submodules

Update develop submodules for .pattern support
Merge pull request #2725 from jburel/rebased/develop/roi-analyser

Roi analyser (rebased onto develop)
merge develop -D none -I breaking -E exclude: PR 2729 (DB: Annotation link insert triggers for search (rebased onto develop))
merge develop -D none -I breaking -E exclude

Repository: openmicroscopy/openmicroscopy
Excluded PRs:
  # PR 2391 jburel 'Imagej omero (rebased onto develop)' (user: jburel)
  # PR 2747 dominikl 'Bugfix: Saved by display' (user: dominikl)
  # PR 2363 dominikl 'Java Gateway API' (label: exclude)
  # PR 2624 aleksandra-tarkowska 'nginx config template improvement' (user: aleksandra-tarkowska)
  # PR 2722 jburel 'Preview size (rebased onto develop)' (user: jburel)
  # PR 2612 chris-allan 'Add wsgi.py for OMERO.web (develop)' (user: chris-allan)
  # PR 2560 will-moore 'for-loop fix removes 'undefined' from reset dialog. See #12301' (user: will-moore)
  # PR 2412 qidane 'Extra annotations' (label: exclude)
  # PR 2739 sbesson 'CLI fs plugin: integration tests and bug fixes (rebased onto develop)' (user: sbesson)
  # PR 2686 aleksandra-tarkowska 'clear sessions' (user: aleksandra-tarkowska)
  # PR 2749 aleksandra-tarkowska 'Rebased/develop/search web ui' (user: aleksandra-tarkowska)
  # PR 2742 sbesson 'Add strict=True when invoking each line in bin/omero load (rebased onto develop)' (user: sbesson)
  # PR 2585 aleksandra-tarkowska 'making time_zone and first_day_of_week configurable' (exclude comment)
  # PR 2127 dpwrussell 'Working view to email announcements to selected users, groups, email addresses and/or all users' (user: dpwrussell)
  # PR 2550 dominikl 'Avoid upscaling of bird's eye image' (user: dominikl)
  # PR 2182 joshmoore 'Read only flag' (user: joshmoore)
  # PR 2731 sbesson 'Remove test subcommand from CLI web plugin' (user: sbesson)
  # PR 2435 rleigh-dundee 'cpp: RTypesI: use static locals in place of duplicated globals' (user: rleigh-dundee)
  # PR 2691 jburel 'Tag import (rebased onto develop)' (user: jburel)
Already up-to-date.

Merged PRs:
  # PR 2729 joshmoore 'DB: Annotation link insert triggers for search (rebased onto develop)'Conflicting PRs (not included):
  # PR 2403 aleksandra-tarkowska 'Send email'
Generated by OMERO-5.1-breaking-push#60 (http://ci.openmicroscopy.org/job/OMERO-5.1-breaking-push/60/)