Edit criteria

Separates date/time fields into separate inputs, cleans up the styling within the data criteria, and adds some testing for data criteria modification.