bin/hooks/commit-msg: Handle commit --verbose

And make the parser more robust in general.