Add last_state_change_time to workers. Fixes #10

Fixes #10 

Reviewers: @mhyee