Ticket #92

Now questions can be set to have overlapping periods.
- Fixed answer_end and judge_start to be the same even if we set it
to be different
- Fixed problems when we only change some of the default dates and
the invalid period errors are triggered.