Support relative time formats

Cleanup of https://github.com/dgryski/carbonapi/pull/4