Add 'now' argument to valid_objects()

Fixes a bug involving different lines of code using different values
of "now" in close proximity.
Fix name error in ClassSubject.is_nearly_full()