Bayesian Detection of Infrequent Differences in Sets of Time Series with Shared Structure