Remove tcmalloc from list of globally linked libraries.

It will become a library loaded through LD_PRELOAD so we keep the search
for it but move tcmalloc_minimal to be found first if it exists.
Refs #10271
Simplify to process of loading the Python plugins on Linux.

Remove any need to force some libraries to load first. Newer linkers
seem to have removed the need for this.
Refs #10271
Fix library link order for older linkers.

stdc++ is required to be linked first to avoid a segfault when
exceptions are thrown and pass into the Python layer.

Refs #10271
Separate packaging from more general Linux setup.

Refs #10271
Move maintainer scripts to be in their own files.

Refs #10271
Use eval to call MantidPlot when not using scl

Refs #10271
Merge branch 'master' into feature/10271_tcmalloc_ldpreload

Conflicts:
	Code/Mantid/Build/CMake/FindTcmalloc.cmake
	Code/Mantid/Framework/API/src/MemoryManager.cpp
	Code/Mantid/Framework/Kernel/CMakeLists.txt
	Code/Mantid/Framework/Kernel/src/Memory.cpp
	Code/Mantid/Framework/PythonInterface/mantid/api/CMakeLists.txt
	Code/Mantid/Framework/PythonInterface/mantid/geometry/CMakeLists.txt
	Code/Mantid/Framework/PythonInterface/mantid/kernel/CMakeLists.txt
Refs #10271
Implement a post install script for Debian

Refs #10271
Add profile links if requested in post install

Refs #10271
Add Debian pre & post install scripts

Refs #10271
Only remove profile scripts if they were installed by us in RPM

Refs #10271
Use RPM_INSTALL_PREFIX0 directly in rpm maintainer scripts

Refs #10271
Fix install prefix for debian post install script

Refs #10271
Don't wipe LD_PRELOAD in startup scripts.

Refs #10271
Merge remote-tracking branch 'origin/feature/10582_improve_createtransmissionworkspaceauto_docs'
Merge branch 'feature/10508_smooth_can'
Merge pull request #80 from mantidproject/feature/10635_fix_compiler_warning

remove implicit conversion from NULL to false
Add LD_PRELOAD/TCMALLOC_RELEASE_RATE to MantidPlot launch script

Refs #10271
Merge remote-tracking branch 'origin/feature/10528_use_group_name_when_plotting_group'
Add LD_PRELOAD/TCMALLOC_RELEASE to profile scripts

Refs #10271