Create state

This replaces the pid and started files that are written in favor of one file serialized currently as json to record the container's state
It may be kinda weird in go return nil, nil for both the state and the error.  I think more ppl will try to use the nil state if the error is nil.  What do you think?