Merge pull request #248 from nskvortsov/master

Fix test
Regression test for kt3315
ExpressionCOdegen.visitSimpleNameExpression simplification
Duplicated JetTypeMapper.mapSignature removed
PSI getter fixed: left-hand side of a binary expression can now be null

EA-35976 - IAE: FqNameUnsafe.validateFqName
Fix tests (by extracting a method and calling it multiple times)
Fixed bug in fix for KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring
Minor. Used util method.
Saving "SAM interface" mark when resolving Java class.
Supported simplest cases of SAM adapter.
Loading SAM adapters with wildcard types.
Added Kotlin external annotations to codegen tests with Java.
Minor. Removed index counter. Renamed variable.
Supported simplest cases of SAM adapter in backend.
Added tests with mixture of SAM and non-SAM parameters.
Added tests with type parameter of class in SAM adapter.
Extracted method recreating type parameters.
Supported SAM adapters with type parameters.
Added tests with type parameter of class in SAM adapter.
Reverted optimizing imports.