Parse settings from environment variables. Ostensibly for Django but can be used with anything.