Add support for registering destructors for TLS
Explicitly free libradius error buffer on thread exit
Do python cleanup properly on thread exit
Fixup radsniff logging macros