assert that fds are nonblocking

Code to implement functionality discussed in #96

Assert that fds are nonblocking when event_assign is called (in debug mode).


Thoughts?