This patch adds the "application mode" features. It also
provides the trivial fix for the pygame2d 'base class not
found' issue (which is present in the public release 1.0).
Implementation has only been provided for the pygame
renderers (openglPygame & pygame2D). I don't have the
knowledge to implement this in other renderers.
It works just as advertised in the following paragraph of
"A side effect of game mode is that the PyUI program
will use ALL the cpu on the machine it is running on. For
some applications this is the desired situation, but for
others it is excessive. PyUI can also run in "application"
mode where is doesn't consume all the CPU, but blocks
in the update() method until it gets new events".