Allow basic configuration to be passed via argv.

Port number, path to email queue and path to sqlite file is configurable
via getopt short options.