Contests can now be run for a predefined period

Start and end times of contest can be given so that admin doesn't have to worry about ending the contest manually or problems seen by users before the start time of contest. Addresses #13.