allow specifing additional arguments for log sections

Note that this is similar to how diff arguments for diffs in the status buffer can be set. Except that it is not yet possible to change the arguments using a popup. For diffs that is possible, but the interface is overly complex. Once I fix that for diff, I might reuse that functionality for the log arguments too.