Enable deployment after health check

This disables the submit button on the deployment form until the agent has been contacted, and if it can't contact it displays a helpful warning. The error is generic right now, but hopefully we can make it better without have to change any client-side code.
Redundant curly braces around a hash parameter.<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.