Limit notices used in layers to those that are applicable to the version

* Instead of passing all notices, only pass those that are came before the version being built
* Filter by final notices off the bat; makes sure surprises don't pop up later
* Use `requests_cache` if installed