When the initializer is trivially foldable we must not ignore emission.
Fix the issue mention described:
http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=17322

Predefined palettes where redefined even if it was not necessary.
From Bertrand: also find libs in ./
From Bertrand: implement typeinfo-based autoloading (ROOT-5708).