Changed enrollment type to an enum.

Also added methods for default attachment/submission
Merge pull request #178 from bpluim/EnrollmentEnumType

Changed enrollment type to an enum.