Pass NameResolver to loadClassAnnotations()

It's not used at the moment, but will be in the upcoming implementation of
annotation loader (for JS, built-ins and type annotations)
Compilation errors are rendered to log without "Kotlin:ERROR:" prefix and without path to file. Sometimes javac adds path to file, sometimes doesn't. This had led tests to fail on some platforms.
KT-6081 Chained generic method calls: wrong type inference
 #KT-6081 Fixed
Updated regexp for Windows. Hope it fixes test on buildserver...