Fix bug in the code that barfs on zero consultations
Bring in the relevant modules from closure library into the system
Make the phone number of the emergency contact non-mandatory field