implemented timestamp support

changed to a (start_date, end_date] style interval
refactored some tests to use modular cohort creation
fixed small issue in bytes added metric

Change-Id: I0f2f1672f452449fa492da0387f66f37f861241e