optimization: use synchronization instead of copy-on-write for library table and jdk listeners (IDEA-129033)
tests: cleanup and meaningful names
get rid of usages of deprecated JavaPsiFacade#getNameHelper