Add a EventCommand object defined type, refs#7215

Depending on how we decide to implement the `$command` parameter in `manifests/object/eventcommand.pp`, we might also want to redo this.