Make package command default to prod run mode

Also make the run mode used by package configurable from the command
line. Fixes missing dependencies in the resulting binary if db.import is
specified in a run mode-specific part of app.conf instead of in the top
general configuration area.