[FLOC-1023] Allow an Application restart_policy to be configured in application.yml

Fixes https://clusterhq.atlassian.net/browse/FLOC-1023
All of the error tests could be simplified by quite a bit by writing an assertion helper.