Tests improvements
#KT-3287 Fixed
Fix documentation references
Move array-specific code to generators, unify "contains" function for "in" operations, tests.
#KT-2105 Fixed