BUG: #3076 make sure scalar range is updated after edit operations.

This new method unifies the updating of the image data and volume
node to trigger rendering.  By calling modified on the point scalars,
this GetScalarRange call returns the correct data.

http://na-mic.org/Bug/view.php?id=3076

This is confirmed by looking at the results of the call after
editing in new colors as shown below.

>>> l = getNode('*label')
>>> l
(vtkMRMLScalarVolumeNode)0x131766ba8
>>> l.GetImageData().GetScalarRange()
(0.0, 15.0)
>>> l.GetImageData().GetScalarRange()
(0.0, 18.0)
>>>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21892 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix spacing buttons in slice controller widget

Ensures automatic spacing button in slice view controller widget toggles automatic spacing on and off, and updates the icon in the widget to reflect the spacing mode. Ensures automatic spacing, manual spacing, and field of view buttons are synchronized with MRML slice nodes. Ensures automatic spacing, manual spacing, and field of view buttons for each of R, Y, G update together appropriately when linked. #2993, in part similar to #2676-2685.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21893 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed issue with SetSceneReference and bug 3067

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21894 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Display Slicer revision at configuring time. Fixes #2020

See http://www.na-mic.org/Bug/view.php?id=2020

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21895 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Change configure time message to use main application name.

If SlicerApp_APPLICATION_NAME is set to "Foo", message like the following
will be displayed instead:

-- Configuring Foo version [4.2.0-2013-04-16]
-- Configuring Foo revision [21891]
-- Configuring Foo for [linux-amd64]

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21896 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: External link in extension manager now open in browser. Fixes #3045

To determine if a link should be open in the extension manager or in an
external browser, the "host" of the clicked url and the server url are
compared.

See http://qt-project.org/doc/qt-4.8/qurl.html#setAuthority for more details.

See http://www.na-mic.org/Bug/view.php?id=3045

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21897 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update CLI shared library fix up rule to ensure CLI executable works

Before this commit, within extension, CLI executables were installed
in "cli-modules" folder whereas the CLI shared libraries were fixed
up in "lib/Slicer-4.2/cli-modules" folder. Doing so allowed either
CLI shared libraries or CLI executable without dependent library to be
loaded but *NOT* CLI executable depending on CLI shared library.

This was the cause of the issue and can be explained by the fact the
"@executable" expression is specific to the location of a the Slicer
executable itself. To allow a CLI executable to resolve its associated
shared library, this one had to be installed in a directory at the same
depth as the Slicer executable itself.

This commit ensure that both CLI executable and libraries will end up
in the same directory: "cli-modules" so that the CLI shared library can
be referenced by either the Slicer executable itself or a CLI executable.

This commit also centralized the place were the CLI module path are set.

See http://www.na-mic.org/Bug/view.php?id=3051
Fixes #3051