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/libxml2class.txt b/python/libxml2class.txt
index a5c45d3..0411124 100644
--- a/python/libxml2class.txt
+++ b/python/libxml2class.txt
@@ -99,6 +99,9 @@
 isLetter()
 isPubidChar()
 
+# functions from module python
+registerErrorHandler()
+
 # functions from module tree
 compressMode()
 newComment()