Exit with non zero exit code if a Matlab training example fails
Encapsulate all graphical displays in if statements in RenderImages

As it stands, running RenderImages in a non-graphical MATLAB session will fail
when trying to use imshow(). This commit fixes this behaviour by only
displaying images and thumbnails in graphical mode.
Rethrow error instead of exiting the script if an error is catched
Move the final closeSession() into a final try/catch statement

Drop the throw(err) approach as it does not work with command-line script
calling. Instead fill the value of the return code so that the examples can be
called as follows:
matlab -nodisplay -nosplash -nodesktop -r "script; exit(rc)"
Do not expose return codes in simple Matlab examples

- Falls back to the exception throwing strategy for individual examples
- Add an exampleSuite.m script wrapping up all the examples in a try/catch
  block, outputting the error message and exiting with a non-zero error code
  if one of the examples fails.
fix #11266: make create container name field single-line
merge develop -D org -I include -E exclude: PR 1324 (Jython scripts (See #918))
merge develop -D org -I include -E exclude: PR 1359 (testGetTile() checks against getPlane(). See #11315)
merge develop -D org -I include -E exclude: PR 1385 (Update the OMERO VirtualBox image)
merge develop -D org -I include -E exclude: PR 1389 (Add tag CLI plugin work (gs-985))
merge develop -D org -I include -E exclude: PR 1412 (Make JDK 1.6 the minimum supported version)
merge develop -D org -I include -E exclude: PR 1418 (Use Python 2.6 features unconditionally)
merge develop -D org -I include -E exclude: PR 1419 (Update develop submodules)
merge develop -D org -I include -E exclude: PR 1420 (Feature 998 hyperlinks in descriptions develop)
merge develop -D org -I include -E exclude: PR 1421 (Import as bug develop)
merge develop -D org -I include -E exclude: PR 1426 (Exit with non zero return code if a Matlab training example fails (rebased onto develop))
merge develop -D org -I include -E exclude: PR 1428 (fix #11266: make name field in create-container dialog single-line (rebased onto develop))
merge develop -D org -I include -E exclude

Repository: openmicroscopy/openmicroscopy
Already up-to-date.
Merged PRs:
  # PR 1324 joshmoore 'Jython scripts (See #918)'
  # PR 1359 will-moore 'testGetTile() checks against getPlane(). See #11315'
  # PR 1385 manics 'Update the OMERO VirtualBox image'
  # PR 1389 criswell 'Add tag CLI plugin work (gs-985)'
  # PR 1412 rleigh-dundee 'Make JDK 1.6 the minimum supported version'
  # PR 1418 rleigh-dundee 'Use Python 2.6 features unconditionally'
  # PR 1419 snoopycrimecop 'Update develop submodules'
  # PR 1420 jburel 'Feature 998 hyperlinks in descriptions develop'
  # PR 1421 jburel 'Import as bug develop'
  # PR 1426 sbesson 'Exit with non zero return code if a Matlab training example fails (rebased onto develop)'
  # PR 1428 mtbc 'fix #11266: make name field in create-container dialog single-line (rebased onto develop)'

Repository: openmicroscopy/bioformats
Already up-to-date.
Merged PRs:
  # PR 528 melissalinkert 'Tile performance improvements for VMS and NDPI'
  # PR 635 melissalinkert 'Use jgit-buildnumber to set version information in Maven'
  # PR 640 rleigh-dundee 'cpp: Add initial C++ implementation'
  # PR 643 melissalinkert 'Data test updates'
  # PR 644 melissalinkert 'Add support for writing ModuloAlong* annotations'
  # PR 645 melissalinkert 'Leica LIF: also parse channel names from FilterSettingRecords (rebased onto develop)'
  # PR 646 melissalinkert 'Save current revision number in memo file'
  # PR 647 rleigh-dundee 'Make JDK 1.6 the minimum supported version'
  # PR 651 qidane 'Adding wider search for DOMImplementation'
  # PR 657 melissalinkert 'FileHandleTest: remove trailing slash from /usr/lib/'
  # PR 660 rleigh-dundee 'test-build: Build sphinx docs'
  # PR 662 melissalinkert 'Fix SAX handler implementations to prevent value truncation'
  # PR 665 hflynn 'Synchronize docs with LOCI Bio-Formats content (rebased onto develop)'
  # PR 667 melissalinkert 'AVI: fix array index calculation for tile reading'
  # PR 668 joshmoore 'Added VT_BOOL serialization support for ZVI tags'

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

Repository: openmicroscopy/ome-documentation
Already up-to-date.
Merged PRs:
  # PR 369 rleigh-dundee 'Cpp: Correct content and markup'
  # PR 437 rleigh-dundee 'Generate PDF using XeLaTeX'
  # PR 448 ximenesuk 'Managed repository'
  # PR 450 rleigh-dundee 'omero: Python 2.6 is the minimum supported version'

Generated by OMERO-merge-develop#400 (http://hudson.openmicroscopy.org.uk/job/OMERO-merge-develop/400/)