[JBIDE-18573] tern shows tern modules on servers and other objects

Fix adds enabledWhen condition to show modules page only for
ter.java enabled projects