Time constraints for response submission

Survey responses may now only be submitted after their start and before
their end; added JUnit testcase added for checking time constraints
during survey response submission; reactivated and adapted survey
resource testcases