Added functionality for global conditions

Added ScenarioGlobals unit test
Added ExpectedGlobalCondition to replace waitForLoaders