updated messagemodel and interface

- added setCreatedAt without this importers are impossible
- added getMetadataForParticipant to the interface since it's in the model as a public function