Basic support for resolving top-level SAM interfaces.
Updated test data.
Removed redundant field in JavaPackageScope.
Moved SAM function creation to JavaFunctionResolver.
Got rid of method duplication.
Inlined method which was used only once, and in different subsystem.
Removed redundant code.
Asserting right after reading.
Calculating interface function name in constructor.
Saving mapping from SAM constructor to trait.
Supported SAM constructors in codegen (simplest case).
Added FileFilter to mock JDK.
Added tests with FilenameFilter (several arguments).
Loading interface with only one method inherited from Object as not functional.

 #KT-1242 fixed
Capable of changing owner.
Renamed method.
Loading functional interfaces with generic parameters.
Supported functional interfaces with generic parameters in codegen.
If interface method has generic parameters, interface is not functional.
Loading generic interfaces with upper bounds.