[REFACTOR] populateDocumentFromRestEvent method and event added

Fixes #344
Merge pull request #352 from franckstauffer/assetic

[REFACTOR] populateDocumentFromRestEvent method and event added