Application configuration tool supporting default application settings, configuration files, environment variables, and command-line flags