RemoteTaskRunner: Fix issues leading to failing tests
IndexTask: Actually make and publish segments for the correct intervals.
TaskLifecycleTest: Fix broken setUp and broken assumptions.
TaskSerdeTest: Fix IndexTask test by including an actual firehoseFactory