add method to environment for getting the start state
Merge remote-tracking branch 'upstream/groovy' into hydro