Fixes #258: Change Environment for multiple hosts.
Fixes #179 - allow mass assignment of parameters and host groups.Greatly inspired by Ashay Humane <ashay.humane@gmail.com> at 5c2e395c