The setup_training_patterns method should now return a dictionary

For consistency with setup_sheets, setup_training_patterns should now
return a dictionary of pattern generators. The target sheet names are
specified as the keys and the pattern generators as values. This format
is output by calling PatternCoordinator objects.