Fix typos in the documentation and error messages

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