Minor change: when the shifts capacity is locked, so that students can
not enroll, the teacher should be able to define groups for it, so that
it can be open only for them
Bug fix: checking if degree is selected
Bug fix: can not invoke super because it will give a cast error,
implementing own logic
Minor change: if the student already has chosen the same affinityCycle,
simply return that registration, instead of an error with no information
Bug Fix: Fixed expression for testing null user.
Bug Fix: overloading methods confuses the renderes and may result in class cast exceptions every once and a while.
Added service to 'dump' enrolment statistics for specified semesters.
Bumped version for release of 3.11.4
Merge branch 'release/3.11.4' into develop
Bumped version for development after release.
Bug fix: preventing NPE
Allow DGES imported students to have custom usernames
Merge pull request #589 from jcarvalho/candidacies

Allow DGES imported students to have custom usernames
Bug Fix: Use suppliers to get a stream so that the singleton method can get a new stream for each time it needs to be evaluated, this avoiding termination exceptions.
Minor change: added 2 more registration declarations to the final pdf,
and updated the instructions to reflect that
Bumped version for release of 3.11.5
Merge branch 'release/3.11.5' into develop
Bumped version for development after release.
Only use username if the person already has a username.
Bug fix: preventing NPE when party is null, it means it has no groups