Remove state as a dependency in environs.

Refactoring environs to no longer import state as a dependency. This will simplify the EnvironCapability API implementation that will come after this is merged.
IIRC, this only exists because we have fallback code that goes via provider storage to find where the bootstrap node is.

If we actually just changed bootstrap to connect and cache the API endpoint, then we could completely remove the fallback code and detangle this logic in a cleaner fashion.