Added check to hit_handler() which prevents users from ranking inactive HITs if they are accessed directly.
Computation of completed HITs should not be affected by activeness of HITs.