Fixed issue with magic styles in Templates

Classes that subclassed Template weren't getting _style methods added.
The Template now builds up the #available_styles array on instantiation,
taking away the meta-programming aspect of how this was set up before.