make s3_bucket optional, add cache.db option and properly inherit common in config.yml