scm: git: add unit adapter test of annotate invalid revision (#8767).
scm: git: add unit adapter test of annotate invalid path (#8767).
scm: git: add unit adapter test of diff invalid revision (#8767).
scm: git: add unit adapter test of diff invalid path (#8767).
scm: git: add unit adapter test of cat invalid revision (#8767).
scm: git: add unit adapter test of cat invalid path (#8767).
Merged r6187 from trunk.
Mitigates vulnerability in API authentication introduced in r3218.
Makes custom queries available through the REST API (#5737).
Fixes version url.