-- Fixed an issue with cycles in the Environment class.
-- Fixed an issue with the topicStack field in the EnvironmentParser
class: adding actions to the right Topic retroactively.
-- Updated unit tests in EnvironmentSpec accordingly.

Signed off by: Mark Farrell<markfarr2011@gmail.com>