fixes #2398 - fix ruby 1.9 issue when loading free ip, causing {} in URL
fixes #2263 search Hostgroup by label
continuation of fixes #2254 - STI Host relationships
changed [] to destroy_all