Ability to run scripts with several selected commits: {sHashes} argument

{sHashes} is expanded to hashes of all the selected commits separated by space.
Hashes are ordered in selection order: first selected commit hash goes first.

Plus fix for "Specify 'Current Revision Branch':" window when no "current branch" argument is given. Closes #2302.