gerrit: allow . in Jenkins jobs names

The commentlink for 'ci-test-result' was not capturing Jenkins jobs URL
containing dots.  The ruby1.9.3lint jobs do have dot.

The . in square brackets does not need to be escaped. Also we have to
make sure the - is the last in the character class being defined, or it
will be interpreted as a range operator instead of the dash character.

Example change: https://gerrit.wikimedia.org/r/#/c/143591/

Change-Id: I9def67242d5e065dc83b78c13ca760c4d72a0a21
Merge "gerrit: allow . in Jenkins jobs names" into production