add LastState{OK,Warning,Critical,Unknown|Up,Down,Unreachable} time attributes
livestatus: add last_time_* to host and service table

refs #4372
fix object lock
compat: add last_time_* for status.dat