Split out the program-specific parts of current_schoolyear

into a separate function, program_schoolyear.
Use program_schoolyear where appropriate.

Some places called current_schoolyear without passing in a program,
when they probably should have been using program_schoolyear. Also,
one use of current_schoolyear didn't seem to be referenced in the
corresponding template.