adding secretkey file, auto BASE_DIR based on hostname
added secretkey file detector, tweaking for auto development/production recognition (settings applied based on host)