progress commit on overhaul of stats logic

the object of this is to eliminate inaccuracy in reporting
when tasks undergo several state changes in a single day

Change-Id: I663daf0c86e9cf246a605b0b42f540391a59bef5
Change SprintBuildStats logic

Add sorting to EventsTable

Change-Id: Ifd3c975ce2508cedf5216acd940b44e6d8fd0e2d
Merge remote-tracking branch 'upstream/master'