add hostgroup methods: getobjects,isreadable,iswritable
new tests