Replace EnvironmentSetup with StoryTemplate. Allow for templating of all story phases

This is nowhere near ready, but opening the PR to start discussion on it.