Add missing includes for term configuration exceptions in returning
student menu.