Generate environment variables from links.

Fixes #91.
I could imagine it being part of the public interface of the deployer - but I think it's fine as an attribute as well.  We can always revisit that choice as we get more experience with this `IStateChange` approach.