[log] Don't display "Loading..." immediately, let a 300ms delay

For instance, "Containing branches" information is calculated
frequently, but fast => blinking "Loading..." doesn't look good.
[log] Fix possible race conditions in "Containing branches"

* For the sake of simplicity allow a single loading-finished-listener;
  Ensure it is accessed only from the EDT.
* Recreate the cache (instead of clearing) on refresh.
  Make the field volatile; make all other operations with the cache
  appear in the EDT.
* Store the cache instance in Task, and put the calculated node
  information into the stored cache instance instead of myCache,
  to make sure that if log refresh happens during containing branches
  calculation, the result of the calculation will be put into the
  obsolete cache instance.
* Clear the queue on log refresh (this not important,
  but those tasks would operate on the obsolete DataPack anyway).
* Notify the listener after clearing the cache, to re-query information
  about the commit user was staying during the log refresh.
IDEA-102449 Mac OS + JDK 1.7: dialog sheets go to background if focus is moved from IDEA and then back
Do not initialize docks in test mode
[log] Refactor: move ref painter & drawRefs & calc refs padding to the common parent class
[log] IDEA-116950 Don't display all tags if there are too many of them

* Adjust RefPainter so that it calculates padding for Strings instead
  of refs (using the same sizes as in drawLabel).
* When drawing refs, substitute tags (if there are more than 1 of
  them) with "first tag + N more" label.
[log] IDEA-116950 Draw just "tag +" instead of "tag + 5 more"
do not auto-switch current suspend context if a new thread with suspenPolicy=thread hits a breakpoint (IDEA-116160)
introduce multi-token nextTokenIs()
update CharArrayUtil.fromSequence doc, use it instead of fromSequenceStrict
Cleanup (formatting)
IDEA-115275 (bundle compiler migrated from VFS to plain files)

- fixes stale timestamps problem
- eliminates the case of loading module output into VFS
get rid of invoke later
IDEA-108838 Wrong code when introducing variable in injection
IDEA-116910 (Invalid "unnecessary explicit numeric cast" warning)
added quick-fix to delete all unused libraries (IDEA-99885)
error reporting in 'Project Structure' dialog: merge UI updates (IDEA-116808, IDEA-110799)
javadoc
IDEA-113684 Soft wraps insert additional spaces
style