force overwriting of symbolic links to *rootmap* such that one can also switch between different TMVA verions
adapt also the example files to the new option names
Make Bagged Sample use for AdaBoost and GradBoost being called by the same option named *UseBaggedBoost* instead of *UseBaggedGrad* and replace the *random subsample* by a true resampled(bagged) sample
fixed problem with deleting the training sample right after train, when using OptimizeConfigparameters AND introduced boost stopping if error rate > 0.5
Fix Jira issue #ROOT-4939

Replace "/./" in path with single '/' it is more readable and solve the issue of gInterpreter->IsLoaded being too sensitive to the path's spelling
Add protection against invalid type.
Reduce code dupe, simplify (37 new lines, 500 gone). No functional change.
call string::find() only once (thanks Axel)
Merge branch 'master' of https://root.cern.ch/git/root
Read in content of ROOT_INCLUDE_DIR and ROOT_GCC_TOOLCHAIN

Following the ideas of a nice patch proposed by David Abdurachmanov
and the current code in TCling, also rootcling is now able to
look for headers in the ROOT_INCLUDE_DIR env variable and to set
the toolchain to the content of ROOT_GCC_TOOLCHAIN.
The code has been refactored in TMetaUtils to avoid duplications.
Remove sourious printout
Fix ROOT-5627

Now, by default, if a dictionary is produced with genreflex, the
"new" streamer is called.
Forgotten casts to T; be explicit about default.
remove unneeded \n in SysError() calls.
use TSystem::TempFileName(), which uses mkstemp(), instead of tmpnam().

tmpnam() was causing deprecation warnings on OSX 10.9.
(first nested!) workaround, for ROOT-5623
Correct default flag to rootcling when not called through genreflex
Bugfix -- check line and marker plex size.

(cherry picked from v5-34-00-patches commit 62128f684910679754c75cf1168a84212971465e)
Changes required for MacOSX 10.9 with CMake
Refactored for an improved readability

Given the importance of the code in TMetaUtils, investing some time
in making it more readable was well invested.