Rename Flag.reason and details to tyype and reason.
Change Flag to a PostActionDto.
Change EditApp to PostActionDto[PAP.EditApp], remove EditApp.result.
Remove PostActionDtoOld

- Fix some compilation errors by not specifying type
  `List[(String, PostActionDtoOld)]`.
- Use less templates.
Rename PostActionDto to RawPostAction.
Rename actionDto(s) to rawAction(s)

And rename PostState.creationPostActionDto to creationAction.