Update to DefinedValue panel per David's suggestions; test to make sure attributes flow through and save.
Fix issue with definedvalues not updating when adding a new DefinedType.  Never could get ContextAware working correctly.