intervals: add get_seconds method, standardize functionality, and tests
intervals: simplify interval dumping
Merge pull request #48 from benfitzpatrick/interval.get_seconds

TimeInterval class: add get_seconds method and input prettifying