Added the changes in RootConfig from 5.34 branch. Added a test to execute a macro.
Funny, it was never implemented and I noticed only when

glpad was fixed. Nobody really cares except a canvas.
Add required #include statement (to trigger autoloading)
Force LLVM and CLING to have the same compiler of ROOT in all cases
TFITSHDU::ReadAsImage returns a TImage*, not a TASImage*
fixed tutorial macros
(cherry picked from commit b9de4fa167857101cb7914324325bfdabbab9474)
Class name is hidden by a function declaration (which is the 'main' function for this macro).

Using class keyword will not help in case the macro is ACLiCk'ed (since the name still be hidden),
so add a namespace.
Even better - add an enclosing 'ROOT' (to make it consistent with cocoa tutorials!!! ;-) )
Fix a deprecated type conversion + ... add another explicit cast (interface is slightly inconsistent:) )
TInterpreter::DeleteVariable() is not available for now.
Quite a funny way to suppress a warning.
Hm, not so funny actually :)
Take into account trunk versions of clang

for example which output with clang --version something like
 Ubuntu clang version 3.5-1~exp1 (trunk) (based on LLVM 3.5)
 Target: x86_64-pc-linux-gnu
 Thread model: posix
Fix ROOT-186
Rename TClass::kEmulated into TClass::kEmulatedStreamer

This part of the internal/private enum TClass::EStreamerType
Add missing lock in TClass::GetClass
Use Version_t to define TBranchElement::fClassVersion.

Int_t is larger than needed, having the correct type helps avoid confusion when calling
the TClass constructor.
Remove redundant call.

Since we remove the calls to TInterpreter::InitializeDictionaries() in ca7545dba55ac,
calling SetClassInfo a second time has no (new) side-effect.
Encapsulate modification of the list of StreamerInfo.

Make TClass::GetListOfStreamerInfo return a const pointer (hence improving
const correctness).

Add the function TClass::RegisterStreamerInfo and TClass::RemoveStreamerInfo.

[Note more work need to be done to remove the need for const_cast of TClass*]
White space