Allow date manipulation

- Allow logging of values with past dates
- Add a --since argument on the command line for "all" and "average", to
  restrict calculations to only those values added after the given date