IDEA-115945 Provide support for Per Environment Bootstrapping
use ensureValid (EA-52448)
avoid double DocumentImpl.assertWriteAccess
notnull ImmutableText.valueOf parameters
EA-52484 - IOOBE: ConsoleHistoryModel.getHistoryPrev
deprecate useless ReflectionCache methods