Misc

A few more fixes from our usage
Please give the autotools stuff a bit of a shakedown and let me know if you find something. (I downloaded the alaw files and committed them to git. Don't know why git thinks one of them is a text file...)
The GMainLoop change could be taken further and be used for the server daemons. That might help with some of the data race conditions that we are seeing. This relies on being able to implement a GSource for MHD which I have not yet managed (why I asked about use of libsoup).
Thanks.