Obtain Riiif cache_duration from config/secrets.yml
Created by: pmather
To avoid hard-coding the Riiif server's tile caching duration and thereby allowing us different cache times for different deployed environments (development vs. production), we obtain the duration from config/secrets.yml via the Rails.application.secrets mechanism.
Note: the duration should be an integer that represents the cache duration in seconds.