Allow changing the entity just before it's saved via POST.
Merge pull request #87 from Gizra/entity-pre-insert

Allow changing the entity just before it's saved via POST.

For example, setting the author of the node entity.