Homebrew update with cache

Allow `cache_valid_time=<secs>` to be defined in the same way the apt module supports it.