BUG: #2326 make save dialog name match node name

With this change, the file save name will be made to match the
name of the node.  This way when a user has specified a
meaningful name in the GUI it will be transferred to the
filename as well for consistency.

http://www.na-mic.org/Bug/view.php?id=2326#c8637

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22004 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Calculate ruler distance so it's up to date

When adding a ruler node programatically to the scene, with initialised
end point coordinates, the distance wasn't getting updated. Removed the 
local variable that saved the distance and changed GetDistanceMeasurement
to calculate it when called. Still writes out the distance to MRML
but does not read it back in as it will be re-calculated.

Issue #3123



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22005 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 2528. Fixed the cause of the crash because of invalid LUT in vtkMRMLDiffusionTensorDisplayPropertiesNode

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22006 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: self-initialization of variable

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22007 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Ensure LibArchive is not built against unexpected library

LibArchive does a wide search of the build system for any
possible supported archival libraries (BZip2, LibXml2, Expat, Lzma).
This can add unnecessary requirements for end users, so disable
all the optional components that are not needed by Slicer.

Thanks to Hans Johnson for suggesting this change.

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