update gradle-api artifact to version 1.6 this is required to make kotlin gradle plugin compatible with upcoming Gradle 2.0
cleanup Gradle API deprecation warnings to make plugin compatible with upcoming Gradle 2.0. This includes moving minimum compatible version from 1.4 to 1.6
Bug fix in intention to move lambda outside parentheses, handles commas better
Minor cleanup in FieldOwnerContext
Minor, fix parameter type in MemberCodegen
Merge ParentCodegenAware and ParentCodegenAwareImpl

Unextend ExpressionCodegen from ParentCodegenAware and make its
getParentCodegen() non-null. This fixes some nullability warnings related to
getParentCodegen()
Minor, reorder code in ExpressionCodegen
Simplify ClassFileFactory

Get rid of outdated assertions, mark createText() as TestOnly, add
NotNull/Nullable annotations.

Inline useless forClass/forTraitImpl/... methods, because this way it's simpler
and some code was already using newVisitor() anyway
Refactor PackageCodegen and ClassBuilderOnDemand

Make ClassBuilderOnDemand non-abstract and create its instance directly in
PackageCodegen's constructor
Remove heuristic from PackageCodegen

Implement the logic in a more straightforward way, move the heuristic to
JavaElementFinder where it was also used
Make ClassBuilderOnDemand extend ClassBuilder

Introduce DelegatingClassBuilder, refactor RemappingClassBuilder to use it
Create and store necessary codegens in MemberCodegen
Fix broken test data file
Update to IDEA 135.909 (13.1.3)
Evaluate expression: pass this as first parameter
Add information about codeFragment and sourceFile for exceptions from Evaluate Expression
Evaluate expression: add debug expression inside block for function literals
 EA-56887 Fixed
Evaluate expression: ClassCastException trying evaluate kotlin expression from java file
 EA-56624 Fixed
Removed resolve tool window since it is not used.
Moved tool window factory into tool window class.