Fixed the comment of the native vararg test.
Used idea SmartList and SingletonList in some cases instead ArrayList.
Removed unused imports.
Used convenient JsNameRef ctor instead setQualifier for create JsNameRef with name and qualifier.
Translate when as if-else instead for loop.
Use PrimitiveHashMap and PrimitiveHashSet when possible.
Kotlin.AbstractList splitted to AbstractCollection and AbstractList.
JS backend: implemented PrimitiveHashMap#putAll.
Dropped get_hasNext (hasNext property) from js library files.