Issue #12: Allow teachers to close/finalize in-progress attempts.

Sometimes test-takers abandon the test before it halts, but when there are
enough answers to obtain a useful result. We now allow teachers to close
and finalize an attempt.

fixes #12