Adds logic to send intervals in rounds.

Refs #105
Makes sure JUnitIntervals always adhere to endDate > startDate.