[libcommhistory] Make EventModel::deleteEvent(int id) invokable by QML

I thought I'd try a smaller pull request this time.