[FLOC-1021] Implement restart policy in flocker.node._docker.

https://clusterhq.atlassian.net/browse/FLOC-1021
You could just use @with_cmp and whatever the immutability decorator is, if there is one.