Fix: ipcs: Properly disconnect client connection on POLLNVAL or any other error causing connection removal from mainloop.

qb_ipcs_dispatch_connection_request is a callback function registered with
mainloop, or whatever other looping thread implementation is in use.  When
this callback is registered, a reference of the connection object is given
to the mainloop thread.  If this callback ever returns something none zero
the callback (and corresponding fd) is unregistered from the loop automatically,
so we must decrement the reference in this instance.

Since unregistering this callback from mainloop guarantees a disconnect
simply because requests on the fd are no longer processed, it is best
that we completely disconnect the connection (which will handle the unref)
when this callback returns an error... Otherwise since the fd is unregistered
from the mainloop thread, it may not be possible to detect a disconnect
in the future.
Fix: ipcs: Disconnect shm ipc connection when poll socket returns error on msg receive
Merge pull request #74 from davidvossel/ref_count_cleanup

Properly disconnect clients when ipc dispatch fails.
Low: qbipcs.h: update ipcs connection iterator documentation
Merge pull request #75 from davidvossel/ref_count_cleanup

Low: qbipcs: update ipcs connection iterator documentation
Low: ipcs: Attempt to resend outstanding event notifications during event send
High: kqueue: Properly enable kqueue filter in poll loop
Low: ipc_socket: In fbsd send() returns ENOBUFS when dgram queue is full, this should be treated similar to EAGAIN
Low: tests: Adds ipc event stress test to testsuite
Account for fbsd ENOBUFS during stress test
Low: tests: rework bulk event msg ipc test

Some environments have very small dgram msg queues. In
these environments we have to be able to read off the event
queue before being able to send the rest of events for the
bulk event test.
Low: loop_pool_kqueue: remove potentially noisy dbug statement
Merge pull request #77 from davidvossel/stress_tests_fixes

Adds new ipc event stress test and fixes issues the new test exposed
Fix: ipcs: Fixes compile time issue reported by travis
Merge pull request #78 from davidvossel/master

fixes travis compile time issue
Merge pull request #79 from davidvossel/master

fix shared memory ipc so max msg size is honored correctly
Low: tests: Added test to verify sending ipc msg equal to max size succeeds
Low: ipcs: For shm ipc, always retry outstanding notifications when next event is sent
High: ringbuffer: Make max_size of ringbuffer accurate so shm ipc max msg size value is honored
Low: check_ipc.c: fix debug message to only display once.