More and more components checkpoints (i.e., persist their states) in kubelet. Refurbish and move the implementation in dockershim to a utility package to improve code reusability.