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
outer { } are in short supply. Conserve them carefully and not waste them here.