Added type code to participant and set when event is generated. Feature #3599
Switched typeCode to NSNumber from int.
Participant types constants moved to Participant.
Removed default value for typeCode.
Merge pull request #24 from NUBIC/3599-participant_type_set

Added type code to participant and set when event is generated. Closes #3599