This collects together various constraints/rewrites that can be applied to attributes. It was extracted from AbstractMuleBeanDefinitionParser and should be used as a delegate (see that class for an example).
Ignored, reference and collection flags are all keyed off the "old" name (before any alias or mapping), with any "-ref" dropped. No normalisation of mapping or aliases is attempted.