Don't list pending contacts when composing message

Previously, pending contacts would be listed as possible recipients when
composing a message. However, sending a message to a pending contact
crashed the client.
Add option to server to make announce messages.

This change adds an option to the server binary which causes it to
serialise an announcement message to stdout from a file whose name is
given on the command line.