Backend implementation of range lookup.

Summary: It depends on the storage engines implementing the getInterval method.

Test Plan: go test ./...

Reviewers: spencerkimball

Reviewed By: spencerkimball

Subscribers: levonlloyd, petermattis, bdarnell, andybons

Differential Revision: http://phabricator.andybons.com/D36