Something to convert IrestartPolicy to Flocker configuration.
This test failed because the applications_flocker_yaml function always includes a RestartPolicy
Use correct attribute name
Add RestartOnFailure
Only include maximum_retry_count if it is not None