fixes #2377 - refresh column info after editing Medium

Fixes error in 20110725142054_add_suse_templates referencing non-existent
operatingsystem_id column.
fixes #2360 loading parameters on host edit form when hostgroup or environment is changed
Extend refresh_host to cover hostgroup_or_environment_selected, and to use becomes for STI types
refactor #2360