fix endsWith, add isEmpty
(cherry picked from commit 6cf1761)
don't bind this if it is not need — skip methods like "plus" — defined in Int class
(cherry picked from commit e2334f7)
KT-2026 properly implemented (as intrinsic)
(cherry picked from commit 6335bc4)
get rid of JS ArrayList — we can use extension functions instead

only std lib tests fails (will be fixed in next commit)
(cherry picked from commit 76338ad)
fix stdlib list test

failed tests: IteratorsTest.foldReducesTheFirstNElements, takeExtractsTheFirstNElements
(cherry picked from commit 44c7806)
don't search function intrinsic twice
 use thashmap instead of hasmap — less memory usage
(cherry picked from commit e617f8f)
continue js ArrayList as array — simplification
(cherry picked from commit 6ede440)
remove unused js list iterator
don't call toString for String
rename Kotlin.toString to stringify — avoid collision
(cherry picked from commit b2a0bb3)
all tests passed except IteratorsTest.foldReducesTheFirstNElements and IteratorsTest.takeExtractsTheFirstNElements — problem found, please see testWrappedVariableInExtensionFun (will be fixed later)
(cherry picked from commit 950c0cc)
fix array list addAt
(cherry picked from commit b481177)
fix Map set/get — should work with jet Map/MutableMap
(cherry picked from commit de7db26)
Json get/set
(cherry picked from commit b1692e1)
format according to code style
(cherry picked from commit 7c2a2cd)
StringBuilder as Intrinsic
(cherry picked from commit 6066e65)
cleanup parseInt
(cherry picked from commit b6be98d)
detect outer class if used in child local fun
(cherry picked from commit 20eea36)
don't bind this if it is not needed
(cherry picked from commit 312c65f)
don't use useless util method
(cherry picked from commit fde0f5a)
#KT-2864 Fixed
(cherry picked from commit 1269911)
Well, Google Chrome Extension API sometimes calls Object prototype methods — if we create data transfer object, we want true compatibility. Currently, only if there are not any parents.
(cherry picked from commit 9959a1e)