Fix compilation with -o2
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
replace strlens by breaks, fix comparison warnings.
Tidyup the networker
add whether we're in which eventloop / a worker thread to the log output.
Mostly we should happen to add one IO context, output its id.
Add DB/IO/W to backtraces
Use a single function to transition from IO to DB Queue
*gna*
*moregna*
More places to use the right api function.
disable unfinished panic.log functionality
 - don't use logfunctions that access the non-owned IO anymore
 - move stopping of c-ares from free to stop client watchers
find places which access information after the context is not owned anymore
Adjust handling of seen events, add debug functions to retrieve & set seen stamps
One more place were we have to check whether this is still our context first.
Fix locking of netcnofigs
Removed a previous attempt at using ldap_initialize() -- it was being called the wrong way
All calls to ldap_init(host,port) are now replaced with a wrapper function ctdl_ldap_init() that connects to the correct server specified in our config.
wtf