[git] Fix possible race condition in http tests

CountDownLatches were released before the corresponding variables
were updated. Therefore the test could get old value.
more readable stub+ast debug info
clear all resolve caches after stub-psi mismatch error
revert removal
readActiveBookmark meth renamed to readCurrentBookmark
if-statement changed to opposite (code style)
tests for current bookmark added
annotations added; bookmark creation for revision removed
IDEA-109185 Hg | Branches: if there is only one repository in the project show all icons inline, and don't show repository group
Test fixed
IDEA-104500 Gradle: Allow to reuse common logic for other external systems

Correctly handle 'unavailable project' situation
IDEA-109245 "Evaluate expression" should not wrap text automatically