Added time support for the web api log command.

There was an assumption that since and until were ObjectIds, so I added
new parameters for a date range.