magit-commit-add-log: use magit-commit-log-buffer
magit-commit-popup: switch to ongoing commit if any

If a commit is already in progress, then switch the
commit log buffer instead of bringing up the popup.
magit-am-popup: fix --patch-format

Actually specify how to read the value.
magit-checkout-stage: new command
magit-checkout-stage: untabify