Added ability to query couchDB for times already requested.

Signed-off-by: Dsyko <dsykora@gmail.com>