[JBIDE-15808] added "NEW" gear state and corrected (exception-) safe
#valueOf
Merge pull request #95 from adietish/JBIDE-15808

Merged by openshift-bot
Resolves issue #4

1)Added getEnvironmentVariablesList(), and getEnvironmentVariablesMap()
to IApplication interface and its implementation, ApplicationResource.

2)Refactored references to getEnvironmentVariables() to
getEnvironmentVariablesMap().

3)Refactored environmentVariableByName to environmentVariablesMap.

4)Refactored getEnvironmentVariables():Map<String,IEnvironmentVariable>
      to return List<IEnvironmentVariable>.

5)Refactored reference to getEnvironmentVariables(), to reference
      getEnvironmentVariablesMap() in ApplicationTestUtils

6)Refactored reference to getEnvironmentVariables(), to reference
      getEnvironmentVariablesMap() in ApplicationResourceTest

7)Refactored reference to getEnvironmentVariables(), to reference
      getEnvironmentVariablesMap() in ApplicationResourceIntegrationTest