Add lock tracing
* src/debug.h (gpgol_lock, gpgol_unlock): Add tracing makros. * src/*.cpp: Use them.
This adds lock tracing everywhere except memdbg as tracing
there would be too verbose.
Because deadlocks from race conditions are so hard to
debug it's better if we have the capabilities to anylyse them.