Add state file, as well as functions for safely getting/setting data in it
Created by: pastly
JSON encoded.
@juga0, if I do this, I'd like to replace your started_at file with a field in the state file. Is that okay?
Initially, it would look something like
$ cat ~/.sbws/state
{
started_at: 1526920769
}