Adds total time column to actions table
Adds full mysql timestamp to endtime
Refactors to let you delete endtimes