Refactoring of LanguageToolAction and UT testing
Fixes returning NotInstalled instead of CannotApply if apps not installed
CouldConfigure Java was calculated on the version install instead of
configured