git submodule: Cleanup usage string and add option parsing to cmd_foreach()