Checked that KT-4453 has been fixed recently by change in TipsManager
Completion: do not bold top-level functions
Completion: corrected presentation for extension properties
Completion: bold immediate members for extensions too
Removed code which does not seem to be needed at all
Added tests
Moved method checkIsExtensionCallable from ExpressionTypingUtils to TipsManager (converting it to Kottlin)
Moved methods for checking extensions applicability from TipsManager to extensionUtils.kt (and made them all extension methods)
Renamed TipsManager
Made ReferenceVariantsHelper class instead of object making method signatures shorter
Minor code refactorings
Basic implementation of partial body resolve
Partial body resolve: more precise smart casts analysis for if-statement
Partial body resolve: more efficient for-loop handling
Partial body resolve: fixed bug
Partial body resolve: added test for do-while
Partial body resolve: more efficient handling of while
Partial body resolve: more efficient handling of loops
Partial body resolve: more efficient handling if-statements
Partial body resolve: don't be confused by exits after ?: