Fixes 7038: No error when hostgroup name exceeds 245 characters

I had to change match after changing title to text because of this code:
```ruby
 def update_matchers
    lookup_values = LookupValue.where(:match => "#{obj_type}=#{title_was}")
    lookup_values.update_all(:match => "#{obj_type}=#{title}")
  end
```