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 we need to limit times on the merged, not before. If we do it before, we might remove deltas that need to be added in mergeAll.