IDEA-100518 Goto popups: prefer items with exactly typed prefix
(cherry picked from commit 39aeb36)
IDEA-100152 IntelliJ 12 freezes for 5-20 seconds while editing Javascript function names
memoize failed matching subresults to prevent exponentiality
remove the hack introduced for fixing a special case of it (IDEA-98040)
(cherry picked from commit 159551a)
Use system property "idea.maven.import.enabled.profiles" when imports from maven model.
(cherry-picked from 87bde7f)
reviewer: Anton Makeev