Changed main dnscap so that it works without -g or -w.  Previously
the "dumper" variable was used to indicate whether or not the program
should be doing work.  Now there is a dumper_state variable.

This is the next step towards removing pcap output from the main code
and re-implementing it as a plugin.