Add an "active" flag on each contest.

This flag will be used for identifying which contests CMS should worry about
globally.
Make almost all services contest-agnostic.

All services except ResourceService no longer user -c to specify which contest.
They act for all contests. The outstanding exceptions are ContestWebServer and
ResourceService.
Remove stupidly inefficient code in get_active_contests.