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
Removed resolve tool window since it is not used.
Moved tool window factory into tool window class.
Throw exceptions (not errors) from lexer

+ Add more data to the exception message
Fix for EA-41250 - E: _JetLexer.zzScanError - Could not match input
Merge remote-tracking branch 'origin/pr/465'

Conflicts:
	libraries/tools/kotlin-gradle-plugin-core/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinPlugin.kt
cast() method in DiagnosticFactory
Move: Retain imports when moving top-level declaration
 #KT-5049 Fixed
Light Classes: Track original declaration for Kotlin light fields
 #KT-4902 Fixed
Merge pull request #472 from wutalman/move_lambda

KT-4889: (Bug fix) Intention to move lambda outside parentheses now handles commas
Supported moving a labeled lambda outside parentheses
Fix warnings in JVM codegen tests

Add generics where needed, add nullability annotations, etc.
Also delete some testcases from ArrayGenTest which will never be supported
Minor, improve test case for KT-1157

Multithreaded version was not working correctly and was throwing NPEs in the
log sometimes
Minor, change test case according to its name
Fix logic of forcing method return type to be wrapped

Return type must be wrapped if any super-method in the hierarchy, not just the
direct super-method, returns a reference type (as opposed to a primitive type)

Actually there was a test reflecting this, but it wasn't running because of an
unfixed diagnostic error
Check for syntax/diagnostic errors in some tests
Disallow extension properties with backing fields

 #KT-1682 Fixed
Don't add initializer to extension property on override/implement