update idea to 138.1510, introduce module "analysis"
Generate codegen tests on scripts
Generate REPL interpreter tests
Minor, add assertion message
Refactor REPL tests

Drop SimpleLinesParser, simplify logic
Minor, inline ReplSessionTestFile
Refactor REPL tests: use empty line instead of "null"
Rename AbstractReplInterpreterTest file to .kt
Convert AbstractReplInterpreterTest to Kotlin
Refactor "incomplete line" handling in REPL tests
Initial support for classes in scripts and REPL
Get rid of isConstructorOfStaticNestedClass()

This value can always be computed in ConstructorDescriptorImpl#initialize
REPL: minor refactoring & reformat, fix warnings
REPL: disable event expansion

Fixes problems with exclamation marks inside string literals. No tests added
because it's tedious to test REPL as it is (via ConsoleReader)

 #KT-3940 Fixed
REPL: don't fail on a callable reference

There should probably be a special kind of property, but at least it won't
throw an exception for now
REPL: fix open parenthesis not triggering "incomplete"

Check if all of the syntax errors are at EOF, not that there's a single one.
In case of open parenthesis two syntax errors are reported for some reason
REPL: display the original cause of InvocationTargetException