adding error redirections and preformat to a python handler cleanup made

* python/Makefile.am python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt: adding error redirections and preformat
  to a python handler
* python/tests/Makefile.am python/tests/*.py: cleanup made all
  tests self checking
Daniel
diff --git a/python/TODO b/python/TODO
index 0fc997b..d8e39b1 100644
--- a/python/TODO
+++ b/python/TODO
@@ -7,7 +7,6 @@
 
 - handling of node.content
 - SAX interfaces
-- error redirections and preformat
 - memory debug interfaces
 - enums -> libxml.py
 - access to XPath variables
@@ -41,5 +40,6 @@
 - spec file: automatically generate for pythonX.Y if found
   Done, a bit ugly by running new makes in %install for each level
   found.
+- error redirections and preformat
 
 Daniel Veillard