We always check that a properties schema is valid at the time that it is
created. Do the same for the attributes schema. This will catch programming
errors in the writing of Resource plugins.
Change-Id: I8119aec30b83f1f9e711013a60a828ae4a8337c7
Story: #2003915