Remove two hacks for some glib<2.14 versions that are no longer supported.
Drop the LDAP stuff that was never even close to finished.

There was actually a branch where LDAP support was more or less in a usable
state, but there were still some unsolved problems including the fact that
every setting has its own LDAP schema entry, which would mean lots of
maintenance overhead for pretty much every BitlBee release. :-(

Instead, we'll just stick to the XML format everywhere and just store it
in different ways.
Use xmltree to save user settings, in preparation for allowing other storage
media than local fs.
xml_load using xmltree. About half as much code as the old stuff. Likely a
little slower, but IMHO also a little less annoying to work with.
Small cleanup of xml_save().
Add xt_to_string_i() and use it to get indentation back in saved settings.
Also, use it in xt_print() instead of replicating most of xt_to_string()
in it. This changed four-space indents into tabs but oh well, we'll live.
Fixed some small leaks, restored proper read buffer size.
Make error message on using save without registering/identifying a little
more helpful.
s/ACC_SET_NOSAVE/SET_NOSAVE/.
Add xml_generate_settings(), little less code duplication.
Remove storage_rename() which was never tested/used, and current /NICK support
should be sufficient.
Removed dead bit of code that was confusing me.
skype: make it not hang with >=2.2.0.35

Sadly reading users of larger groups using the public API just hangs in newer
Skype versions. Skype4Py already defines a timeout for requests, but still:
startup takes *minutes*. Work this around by disabling reading of groups by
default.
Merging Skype fix from vmiklos.
json: fix uninitialized variables

json.c: In function ‘json_parse_ex’:
json.c:260:30: warning: ‘string_length’ may be used uninitialized in this function [-Wmaybe-uninitialized]
json.c:358:16: warning: ‘string’ may be used uninitialized in this function [-Wmaybe-uninitialized]
skype: support setting mood text

Requested by martinc on IRC.
skype: make checkpatch happy again (cosmetics)
skype: remove unused build system targets, references to git
Merge from vmiklos.
Fixed NULL pointer dereference bug when newly connecting to identi.ca.
Twitter sends us our real username on OAuth completion, which is then used
instead of the username supplied by the user. Identi.ca doesn't supply
this info so BitlBee would instead replace td->user with a NULL pointer.