Added preliminary libuv support.

This is far from comprehensive, but it does switch most of cjdns to using the libuv event loop.  We can use this as ground work to further integrate the library.