[Delivers #43971539] Switch note type attributes to machine readable codes.

Codes are based on the EAD tag names for each type.
[Delivers #43971539] Migration changes for the note types.
updated note type strings in exporters, added a test
Merge pull request #315 from hudmol/43971539-machine-friendly-note-types

43971539 machine friendly note types