Fix typos in error messages and docs

Replace all references of `environmental variable' with `environment
variable'