Fix triage of samples.

The 'analysis' attribute is gone, so check for results using the
AnalysisResults object.

While here, remove analysis from Sample schemadoc.