Devnull enabling and cmd-line options

This code adds options to enable/disable devnull
processing as well as code to switch on devnull
depending on date and definition status.