COMP: Update CTK / PythonQt - Fix msvc 2010/2012 build error

See commontk/CTK@2c24951c9

Thanks to @ihnorton for testing the patch.

See #2002

Complete list of associated CTK changes: https://github.com/commontk/CTK/compare/bedf1712d4...1c0977af174

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22046 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix msvc 2012 build error in vtkMRMLAbstractDisplayableManager

From: Isaiah Norton <isaiah.norton@gmail.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22047 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update CTestCustom to exclude "HEAD is now" git warning.

Despite the fact the git client on the different Slicer dashboard
client has been setup with "advice.detachedHead" warning disabled [1]

The "HEAD is now ..." output still show up as a warning on CDash.
See http://slicer.cdash.org/viewBuildError.php?type=1&buildid=103147

This commit attempts to suppress it.

[1] http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/DashboardSetup#Setup

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22048 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove Log4qt CTest warning suppression

Since commontk/CTK@247c9ad3a, Log4Qt is not built as part of
CTK core.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22049 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Restore CTest driven build of extension

Following commit r22038 [1], UseSlicer.cmake file has been updated to
NOT call "project()". This didn't cause problems when manually
configuring and building the extension. Problems arise when the
extension build is driven using ctest.

More particularly, calling "ctest_build()" [2] on a build tree
configured without an explicit call to "project()" failed on
windows. In that specific case, the command line generated to
drive the build is expecting a solution file named
after <CTEST_PROJECT_NAME>.sln. In our case, only the
file "MyProject.sln" was existing.

This commit ensure that a properly named solution file will be
created by calling "project(${EXTENSION_NAME})" when appropriate.

Thanks to Csaba Pinter for reporting the issue.

Discussion: http://slicer-devel.65872.n3.nabble.com/Extensions-failed-to-build-on-windows-last-night-tt4028763.html

[1] http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22038
[2] https://github.com/Slicer/Slicer/blob/cd985077aec48b3981bf114eba7f707c0eb55299/Extensions/CMake/SlicerBlockBuildPackageAndUploadExtension.cmake#L155

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22050 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: typo in patch provided for 22047, should be greater-or-equal

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22051 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Harmonize qMRMLNodeComboBox properties

Previously, the property currentNodeId of the node combobox was set with an
id (QString) and sent a signal with a node (vtkMRMLNode*) which can be
confusing in the widgets using it. Now, the node combobox as an id
property or a node property.

See Issue #1694

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22052 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add Units module

The unit module handle the unit in slicer. The units are singleton in the
scene that belong to a quantity. So far the only quantity available are
length and time. The units are settings saved with the application.

See Issue #1694

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22053 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add Unit compatible widget

Added new widgets that can observes the MRML scene to deduce the
current unit for a quantity type (the singleton vtkMRMLSelectionNode is
used for storage in this case).

See Issue #1694

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22054 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Apply units widget to slicer

Modified:
- Volume info widget: Made it a qMRMLWidget so it can propagate the
mrml scene.
- Annotations: Add to vtk widget and GUI
- Tractography Interactive seeding: Add units to GUI
- Slice controller: add units in spinboxes
- Volumes: add units to GUI
- Editor: add units to paint and island effects

See Issue #1694

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22055 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Only one unit per quantity accessible to the user

Now only one unit per quantity is accessible to the user. This unit can
be customized and it's logged in the settings so it can be restored
when opening the application.
On the implementation side of things:
- Add access method to all the referenced unit nodes in the selection node
- Remove the unit widget
- Hide module
- Create the unit widget to easily customize units (add the plugins with
it)
- Create the unit settings widget using the unit widget. This widget
is tailored to be used in the setting panel (no plugin)
- Refactorize the setting panel to use the setting unit widget and
log the unit node properties
- Create only node for each quantity exposed to the user. The preset nodes
are kept in a special scene in the logic.

See Issue #1694

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22056 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Rename forgotten currentNodeId to currentNodeID

Following Revision 22052, the signal was renamed currentNodeID. Fixing
forgotten python script.

See Issue #1694

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22057 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix build error on mac (can't return false for pointer)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22058 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add currentNodeId() as a deprecated method

This will falicitate the transition for extensions and projects depending
on Slicer.

See Issue #1694

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