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.