Add a EventCommand object defined type, refs#7215

Should we validate this as a string instead? The [official docs](http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2#objecttype-eventcommand) say it can be either, but I think it's simpler just to make it a string.