Updated things to agree with the changes to IAnalysisPlugin and added
first pass at Result dependency checking.