A......... [ZBX-8448] reverted some of the previously removed code in host and template massupdate functions; fixed several problems when hostgroup.massupdate did not save changes when objects were removed from groups and incorrectly displayed error about no groups left to one of the objects.