Allow logging to file

Occasionally it's useful to direct logs to a designated or default file. This can be done with an additional option such as --logfile and setting up a logging.FileHandler for the logger. As far as I can tell there is only verbosity control at the moment.