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

https://clusterhq.atlassian.net/browse/FLOC-1021
Yes.
- It is immutable.
- This function doesn't modify it.
- Only the class of the object matters.