Fix the duplicate header autoload keys
Fix Jira #ROOT-6188 TApplication in ROOT 6 under unix changes value of "optind" (from getopt)

The commented line of code is a TCint legacy and its purpose is not clear...
Fixed GenVector and Smatrix dictionaries using -multiDict option. Fixes ROOT-6325
Release notes update
Fix ROOT-6331: Properly handle protoclasses of hepmc

my commit but work of Axel :-)
Wrap using decl/def that are followed by code (ROOT-6153).
Wrong redirection command corrected. (ROOT-6330).

(cherry picked from commit 01a9cbb0bccf071878f20c6c22aa22c71e439c52)
Added installation of headers of histfactory and tmva to 'headers' component. This fixes the problem seem by Lorenzo that some headers were not copied to the binary directory.
Remove warning appeared in CDash

http://cdash.cern.ch/viewBuildError.php?type=1&buildid=64070
This is a global present in a linkdef which is not a variable
but a preprocessor statement.
Add clarifying comment.
TTabCom: do not deserialize for classes<TAB> and use gROOT->GetListOfGlobalFunc.

This is a temporary solution to get a reasonable subset of classes. Previously using ".class" and ".namespace" triggered deserialization. We have to implement getting the classes using decls. This uses gClassTable and mapFile. Another issue was with the implementation of TTabCom::GetListOfGlobalFunctions which did not iterate over the MethodInfos. Now using gROOT->GetListOfGlobalFunctions().
TTabCom: Add check for class duplicates and swap checking order.

Since we look for classes in two tables we have to check for duplicates and not insert them. Changed the iteration on ClassTable first because of the number of elements in each: ClassTable-456, MapFile-3000..
TTabCom: GetListOfGlobalFunctions change signature

CHange the signature of the TTabCom::GetListofGlobalFunctions(), because now it uses gROOT->GetListOfGlobalFunctions() and that can be affected.