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)
Buildserver auto merge