Cache flows in production and by config switch

Adopts a similar pattern used in the existing Smartanswers::FlowRegistry
class whereby production defaults to caching flows and options passed to
registry control the caching of flows.
Merge pull request #1116 from alphagov/cache_smartdown_flows

Cache flows in production and by config switch