Set the PATH to ParaView based on the build configuration on windows

Trying to run a debug build with a release version of ParaView causes
the Vates API tests to fail.
Refs #10002
Fix vector resize bug in LoadFlexiNexus

Refs #10002
Run MantidPlot tests in the correct configuration.

Refs #10002
Re #10002. Fixing PoldiPeakSearch problem with invalid iterators.
Fix two usage examples on Windows.

The numpy.shape print in windows printed (0L,) and not (0,) due to the
different representations on the different platforms.

Refs #10002
Merge remote-tracking branch 'origin/master' into bugfix/10002_fix_tests_win_debug
Fix indexing error in GenerateEventsFilter.

Refs #10002
Merge remote-tracking branch 'origin/bugfix/10002_fix_tests_win_debug'