Fix the issues with password fields.
Use existing Foreman helpers
Fix a couple bugs with param processing for passwords

I'm not sure if the intent was for the passwords params to be
 nested under :staypuft_deployment or not, but with code as submitted
:passwords was a separate hash key, parallel to :staypuft_deployment,
so this change was needed for processing to work properly.

If the intent is for the response to have them nested, this can be
fixed to expect a nested hash again, once the underlying problem
is fixed.
Fix passwords params placement
Pre-fill password configuration

for #valid? to pass
minor improvements

- moving #attributes= to abstract class
- removing old unnecessary nil check
Split deployment.rb into more files
Do not fail on missing classes
Hostgroup of Deployment has to be created before param defaults
Fixes #1110542 Set deployed/active hosts correctly

Updates the host group table on the deployment show page to calculate
the deployed successfully / deployed with errors / deploying hosts total
for each host group.  Since all hosts are not deployed until after the
deployment has finished.  The update checks for the lock on the deployed
to determine whether this deployment is complete or not.