Tidy up module init/initial TLS callbacks.

This adds a `callback_tls' global which is a Python-level
threading.local to be used for storing callback state. This avoids the
need to depend on OS-specific APIs.
Merge branch 'master' of github.com:dw/py-lmdb