cmds: Move the "commit" shortcut definition into the Commit class

We've been moving the shortcut definitions next to the commands for
simplicity.

Signed-off-by: David Aguilar <davvid@gmail.com>