feat(controller): restart the app if there is a failure.
Merge branch 'restart_apps_on_failure' of https://github.com/aledbf/deis into restart_apps_on_failure

* 'restart_apps_on_failure' of https://github.com/aledbf/deis:
  feat(controller): fix flake8 error.
  feat(controller): fix flake8 error.
  feat(controller): by default are second.
  feat(controller): restart the app if there is a failure.