Fix "next method" IdeaVim shortcut ]m or [m for PyCharm.

Using a ]m "next method" shortcut always ended with NullPointerException.

After fixing minnor deprecation method calling (without edditor) there is a problem with PSI classes hierarchy so I duplicated the code to fix the problem (details in diff).