superadmin: Added a script to copy candidate IDs from a period into an assignment.

Fixes #597.