Fixes BatchedStore interval calculation

There was a bug in refactoring and interval calculation in BatchedStore. This fixes it and simplifies the interval calculation. Also fixes the Scalding unit tests to use batch cover in input space instead of store space. Fixes #567
I think you want batchesCoveredBy, since those are the only batches eligible to be written right?