Fixed: Object state not set when creating content

+ Notice fix in InMemory/ObjectStateHandler.php
Merge pull request #244 from patrickallaert/SetObjectState

Fixed: Object state not set when creating content