Update MockApplication.java

Return not null future from executeOnPooledThread method
resolve profiler
don't stop resolving in closure
Nullable/NotNull
resolve profiler
hashCode method added for HgRepositorySelectorComponent.RepositoryDisplay; annotations added
[git] Suppress warning

We don't want users of this method pass null here,
that's why it is annotated by @NotNull.
However, myUrl is @Nullable, because it is null for all local operations
[git tests] Make fields accessed from multiple threads to be volatile
[tests] Fix running our Cucumber tests from IDEA

* Add a runtime dependency to cucumber-test-runner module to
  ruby-tests and git4idea. Otherwise CucumberMain can't be
  specified as a runner in the run configuration.
* Remove dependency on the Application from CucumberMain,
  just call EventQueue.invokeAndWait.
* Move application initialization to git and ruby hooks - to the place
  where correct platform prefix can be defined.
[hg] Fix compilation: has occasionally committed local changes :(
Merge branch 'patch-2' of git://github.com/max-kammerer/intellij-community into pull59
fix imports