Move the text-centering code into the MenuButton and MenuLine classes.

This does mean that the DetailsTemplate text will also be centered.
An ljust/center/rjust property will likely be added to these classes to cover this need.
Implement EffectGroup for combining multiple effects together.