Test Wiki

Hi Mate,

I'm sending to you this pull request, because I'm trying to apply a new test method for Wiki and I'm getting a SysmteEvent error and maybe you can help me.

The problem is when we are removing the wiki page we get an org.hibernate.exception.ConstraintViolationException.

```sql
insert into SystemEvent (groupId, companyId, userId, userName, createDate, classNameId, classPK, classUuid, referrerClassNameId, parentSystemEventId, systemEventSetKey, type_, extraData, systemEventId) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
```

This occurs when we are deleting a wikipage, with two versions, the 1.0 version is approved and the 1.1 version is draft.

Could you take a look at this? Maybe the code that handle the system events in Wiki is wrong? 

Thank!!,

Eudaldo.