STYLE: In reloadScriptedModule - Use 'with' statement to open file

See http://freepythontips.wordpress.com/2014/01/15/the-open-function-explained/

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22840 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: DashboardDriver: Expect MIDAS_PACKAGE_URL if packaging is enabled

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22841 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: DashboardDriver: Introduce SVN_REPOSITORY variable

By default the variable is set to:

  http://svn.slicer.org/${CTEST_PROJECT_NAME}

If needed, the variable SVN_REPOSITORY can also be set prior to include
the driver script.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22842 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix incorrect function name in MultiVolumeImporter


git-svn-id: http://svn.slicer.org/Slicer4/trunk@22843 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: set the multivolume loadable name as requested by the caller


git-svn-id: http://svn.slicer.org/Slicer4/trunk@22844 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix crash in vtkMRMLAnnotationDisplayableManager

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22845 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix compilation error with ITKv3

MakeOutput expects a DataObjectPointerArraySizeType and not an integer.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22846 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update SlicerExecutionModel - Add ParameterSerializer support

$ git shortlog 9202673..6956eb2b
Jean-Christophe Fillion-Robin (3):
      Merge pull request #20 from thewtex/parameter-serializer
      Merge pull request #22 from thewtex/find-jsoncpp
      Merge pull request #23 from thewtex/export-dep

Matt McCormick (5):
      ENH: Add GENERATE_TCLAP_ASSIGNMENT_IFSET generation.
      ENH: Add ParameterSerializer support.
      ENH: Add FindJsonCpp.cmake.
      BUG: Export the JsonCpp include directories in SlicerExecutionModelConfig.cmake.
      BUG: include ParameterSerializerConfig.cmake in SlicerExecutionModelConfig.cmake.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22847 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: slicer.util.reloadScriptedModule - Reorganized code comments

Minimize confusion by associating a single comment with each section
of code.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22848 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: slicer.util.reloadScriptedModule - Ensure cleanup function can be called

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22849 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix "Reload and Test" function

While commit r22839 re-factored the code associated with "Reload" function,
it also made the "Reload and Test" function fails.

This commit fixes the issue by setting the "<moduleName>" key into
the global dictionary of the reloaded module so that it can be
referenced in the "onReloadAndTest()" function.

Note that the overall approach to reload modules could be revisited to
leverage either the "rollback importer" method or a more sophisticated one
like the "python-reloader" [2][3]

Thanks to "Csaba Pinter <csaba.pinter@queensu.ca>" for reporting the issue.

[1] http://pyunit.sourceforge.net/notes/reloading.html
[2] http://www.indelible.org/ink/python-reloading/
[3] https://github.com/jparise/python-reloader

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22850 3bd1e089-480b-0410-8dfb-8563597acbee