split the revision information

to a number for those commits common with the blessed master and a number for
those ahead of the current master

choose the url from available remotes
remove ssh username
accept ssh://[...].sf.net as origin
calculate the revision number from reference commit
list multiple branches in version info

in case last commit is a octopus merge