Scenario analysis refactoring.
Minor fixes in analysis.
action schedule construction from xml files added for detector actors in scenario analysis.
Minor fixes in scenario analysis.