Extract ticket # from branch name

Extract the ticket id from a branch named story/12345-my-name and put it
on the commit message.