Add deadline to allow students to cancel registration

Addresses issue #1160