Cleaning up the role assignment

the !attributes method on RecordRef seems to only exist to set the role
Making type R+W on CustomField
Improving customFieldList XML generation - works with most field types
Fixing custom field boolean xml