Fixing bugs in parse_request_args()

Previously the relative date code was not converting delta to an int and not using the period's start/end methods on date to calculate start_at/end_at
Adding tests

We need to test that the start/end dates are using the period's start/end boundaries correctly