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

https://clusterhq.atlassian.net/browse/FLOC-1021
This test hangs. Need to return the deferred.