COMP: Fix bug in writing origins to MGH files

Waiting Slicer makes use of the ITK remote module "itkMGHImageIO" (issue #3410),
this commit has been back-ported from Slicer/itkMGHImageIO@13f5e11ef.

It also has been tested by Hans as part of ITK.

Test project /Users/johnsonhj/Dashboard/src/ITK-ccache
Start 2065: MGHIOInDoxygenGroup
1/7 Test #2065: MGHIOInDoxygenGroup .............. Passed 0.09 sec
Start 2066: MGHFactoryCreationTest
2/7 Test #2066: MGHFactoryCreationTest ........... Passed 0.15 sec
Start 2067: MGHReadImagesTest_mgz
3/7 Test #2067: MGHReadImagesTest_mgz ............ Passed 3.77 sec
Start 2068: MGHReadImagesTest_mgh
4/7 Test #2068: MGHReadImagesTest_mgh ............ Passed 0.49 sec
Start 2069: MGHReadImagesTest_mgh.gz
5/7 Test #2069: MGHReadImagesTest_mgh.gz ......... Passed 3.88 sec
Start 2070: itkMGHIOInternalTests
6/7 Test #2070: itkMGHIOInternalTests ............ Passed 0.07 sec
Start 2071: itkMGHIOOriginTest
7/7 Test #2071: itkMGHIOOriginTest ............... Passed 3.58 sec

More details here: http://review.source.kitware.com/#/c/12771/

From: Kent Williams <norman-k-williams@uiowa.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22485 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix compile error introduced when backporting fix for MGH origin issue

The compile issue hasn't been detected earlier because only a visual check
between the original patch (Slicer/itkMGHImageIO@13f5e11ef) and
the back-ported one has been done (r22485).

This commit fixes the build issue and also confirm that the associated
Slicer tests now pass:

// --------------
Start 545: py_nomainwindow_test_slicer_mgh
[...]
test_saveShortCompressedNode (test_slicer_mgh.SlicerUtilLoadSaveMGHTests) ... ok
test_saveUnCompressedNode (test_slicer_mgh.SlicerUtilLoadSaveMGHTests) ... ok
// --------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22486 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Explicitly tell the user if extensions can't be installed

In case either the Slicer settings file or, the extensions install
directory are not readable/writable, a nicely formatted message will
be displayed to the user instead of the app-store page,

Note that the associated messages are also logged.

Fixes #3179

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22487 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update ITKv4 project

$ git shortlog a8429da..97a08e0

Matthew McCormick (3):
      BUG: Enable MRC IO in UseITK whenever the ITKReview module is enabled.
      Merge branch 'MRC-UseITK' into release
      COMP: Fix NIFTI CMake variable separation warning.

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