Generating public flag for local functions/properties.
Don't consider libraries with empty source roots as JS libraries

 #KT-3425 Fixed
Remove old js during configuring new one
Don't use caching LibraryDetectionManager because it isn't updated properly
Refresh local file system to update content of the jar
Android test update to support new Idea
add kotlinOptions to tasks with type kotlinCompile. Allows to set kotlin compiler options directly
added kotlin plugin name
use jdk annotations from maven repository
filter out non-existent directories from class path
Better work with getLocalPath method
Compatibility with 123 branch is lost - start using fixed AddSupportForSingleDialog from IDEA
Properly capture local functions

Local functions in local classed wasn't captured properly
Fixed bug when class or trait declared early than its parent, traits and abstract classes which declared after doesn't translated
#KT-3437 Fixed
Fixed return value for ArrayList#remove in js library.
Removed unnecessary Kotlin.IndexOutOfBounds.
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.