common: Hold reference to CockpitPipe while emitting signals

While emitting CockpitPipe::read signal, hold a reference to
self, in case the signal handler unrefs the pipe, we can still
act in a coherent manner.

Caught by Travis and Valgrind.
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
common: Backport g_unix_fd_add() and friends

Backport the new g_unix_fd_add() and related functions which
define GSource's for unix fds. This prevents us from having to
define a custom GSource in CockpitPipe.

In addition we'd like to use these sources for the reauthorization
work.

Closes #529
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Suppress errors about unexpected TLS disconnects

Browsers seem to do this all the time. No use filling up the
server's logs.

Closes #531
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>