Setup interactive application for python
The TPyROOTApplication sets up the nuts and bolts for interactive ROOT use
from python, closely following TRint. Note that not everything is done here,
some bits (such as e.g. the use of exception hook for shell escapes) are more
easily done in python and you'll thus find them ROOT.py
The intended use of this class is from python only. It is used by default in
ROOT.py, so if you do not want to have a TApplication derived object created
for you, you'll need to load libPyROOT.so instead.
The static InitXYZ functions are used in conjunction with TPyROOTApplication
in ROOT.py, but they can be used independently.
NOTE: This class will receive the command line arguments from sys.argv. A
distinction between arguments for TApplication and user arguments can be
made by using "-" or "--" as a separator on the command line.