fixed supports("true ") evaluating to false

Added trim() before converting the key (String -> boolean) to avoid
converting true to false silently
Merge pull request #414 from tiagojco/fixEnvironmentSupportsBrokenEvaluationOfUntrimmedBoolean

fixed supports("true ") evaluating to false