Refactoring of property/field definitions in resource change sets and improved testing.
Fixes a bug present in the previous version of the code. Avoids use of the 'self.fields=' method for setting the 'fields' class variable because its side effects are problematic in our superclass / subclass change sets.
Edited by Jim Coble