Code cleanup

* Remove all debug output
* Remove ust callback: use enable/disable instead
* Get PyObject type using Py_TYPE() macro (thanks to Alexander Belopolsky)

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>