common/test: Remove unused files.
Reorder files based on size.
add various Component.setName() to facilitate UI testing
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
add more Component.setName
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)"
Merge pull request #1414 from bpindelski/common-test

Clean up components/common/test.
make D&D tree name more specific

specificity is important when another tree may appear in the same
window or dialog
name components for their type
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 pull request #1411 from sbesson/matlab_training_rc

Exit with non zero return code if a Matlab training example fails
Merge pull request #1425 from mtbc/one-line-name-11266

fix #11266: make name field in create-container dialog single-line
update copyright year after code changes
fix #11401: remove deleted tree notes from selected set
Merge pull request #1427 from mtbc/deleted-container-11401

fix #11401: remove deleted tree nodes from set of selected nodes
Merge pull request #1410 from mtbc/Component.setName()

First round of preparing Insight for UI testing
Reduce repository test to a minimal test.