Note entity and NoteTest. Closes #3
completing Event entity, fixing other things. Closes #2
completed Attribute entity and AttributeTest. Closes #7