KWSys 2014-01-24 (b3db597b)

Extract upstream KWSys using the following shell commands.

$ git archive --prefix=upstream-kwsys/ b3db597b | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 1010d0e3..b3db597b

Clinton Stimpson (6):
      ab6f8c36 FStream: Fix rdbuf() return and use use of FStream in SystemTools.
      88165c5e Encoding: Fix bug in kwsysEncoding_DupToNarrow.
      2426b57d Encoding: Add support for program arguments argc/argv.
      e81f2a9e FStream: Fix opening non-existant file.
      0d8ef429 Encoding:  Help enforce the use of wide apis on Windows.
      cfbc1cc8 FStream: Remove unused basic_filebuf declaration.

Matthew McCormick (1):
      b3db597b SystemInformation: Mark EXECINFO_LIB as advanced

Muli Baron (1):
      606d7d6f Terminal: Add putty-256color as a VT100 color-capable terminal

Rolf Eike Beer (2):
      d2bcbe11 SystemInformation: extract CPU information on Linux/Sparc
      b2fd7da5 ProcessUNIX: close /proc entry before starting recursion

Ådne Hovda (1):
      a02a1ad2 SystemInformation: Fix compilation on HP-UX 11.11 hppa

Change-Id: I122c8ae56066f5d192086bc908ca4f46bb7f67d6
Merge branch 'upstream-kwsys' into kwsys-update

Change-Id: Id5ed5eeef1eda0e83df9ca7349b320c474b5e45f
COMP: use std::transform with static_cast to avoid conversion warning

Not performance change was notices during testing covering a 512^3
image with a single thread. Multiple combination were tested with SimpleITK.

Change-Id: Iad488ef7f8fb490a5a7bdaa07654f0279cf074f1
PERF: Accelerate initialize via selective testing.

The Initialize() method now reorganizes the checks
for a potential image mask presence, and in this
way avoids to perform some of the point transformation.

This patch was contributed by Richard Mustakos.

Change-Id: Ie0b4ad8bbfec5b95cbc0fa059daa0b6a62a2915d
BUG: Remove valgrind reported leak

The MGHIO filter was leaking memory due to unnecessary
dynamic allocation variable.
The dynamic allocated variable was not being deleted.

Change-Id: I77cf2ea9bfe553121ae1fc89aa30a343a3c88ac4
Merge topic 'kwsys-update'

53777501 Merge branch 'upstream-kwsys' into kwsys-update
f29c3541 KWSys 2014-01-24 (b3db597b)
Merge topic 'FixMGHValgrindError'

bde2caa2 BUG: Remove valgrind reported leak
Merge topic 'UseSTDTransformInImageAlgorithmCopy'

38a725d5 COMP: use std::transform with static_cast to avoid conversion warning
Merge topic 'PerformanceIncreaseInitializingMattesMI'

b229b495 PERF: Accelerate initialize via selective testing.