Don't lookup built-in classes by invalid names

 #KT-5869 Fixed
Support static method references

 #KT-5123 Fixed