Additional resolve for annotations in lazy resolve
Make resolve session be able to resolve class constructor parameters
Make type parameter name be always notnull

Fix java.lang.AssertionError: @NotNull method org/jetbrains/jet/lang/resolve/lazy/descriptors/LazyTypeParameterDescriptor.getName must not return null
Refactor additional resolve for reference in packages
Make additional resolution work for descriptors
Make resolve session be able to resolve class parameters
Resolve descriptors in error class objects
Refactoring: use utility method for getting binding context with resolution for element
Refactoring: use interface instead of class
Create thread-safe traces
Introduce result session result guarded by modification tracker and process cancel exception
Thread safe lazy import scope
Always return delegated trace
Add lock for all additional resolve
-- Hack for to make slices debug work
(cherry picked from commit 80a022d)