The rest module of comment improvements

Sometime I want to query all task comments of a process instance, so save processInstanceId at the same time.