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
KT-5076 Error on inlining into object

   #KT-5076 Fixed
Minor: remove warnings
More information for EA-48954
Refatoring: rewrite in PsiTreeUtil style
Refactoring: more suitable method
Make ResolveSessionForBodies.resolveToDescriptor() work for local declarations (EA-56877)

Fix (EA-56877)
Minor: annotate parameter
Added ConvertToConcatenatedStringIntention
Fixed KT-5077 Code completion inserts FQ names inside lambda

 #KT-5077 Fixed
OuterClassInfo refactoring
New tests for outer class info
Fix visibility for main script function
Write outer class info for closures
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