Initial commit

First implementation of libnub. Things are working, but tests,
documentation, etc. are still in poor condition.

libnub will currently allow the user to spawn threads attached to a
given event loop, operate on handles from those event loops and send
handles to those threads from the event loop thread.