minor: small refactoring LibraryUtils
add tests for jps-plugin (Kotlin Javascript projects)
~ add test to ConfigureKotlinTest