fixes #5881 - XSS from create/update/destroy notification boxes (CVE-2014-3491)
fixes #6149 - fixed XSS in host YAML view (CVE-2014-3492)
fixes #6216 - deleting a subnet that is associated with a host group throws foreign key error
squash this commit