Add end-time command

Similar to start-time, end-time returns the last update time
Change summary command to show last update instead of first boot time
Read file once

file_prepare reads the file into filecontents, then all functions just use
that variable instead of reading the file, reducing the overall IO load and
improving performance