JS lib: added hasNext to Kotlin.ListIterator and fixed next.

 #KT-6506 Fixed

Additionally made abstract AbstractList::get and AbstractCollection::size.