JBIDE-15149 to maintenance fix bad test
[JBIDE-15149] 9 test failures in as.core and as.internal.management

fixed additional tests issues:
1. Wrong environment variable initialization - JAVA_HOME userd instead of JAVA
2. tomcat tests fails under JRE 1.6