Factor out _state_intervals to Ska.engarchive.utils
Merge pull request #24 from sot/factor-state-intervals

Factor out _state_intervals to Ska.engarchive.utils