Fix an issue when HTTP client returns nil for inserted object

Setting the af_resourceIdentifier property is required for the inserted object to obtain a permanent ID.
Merge branch 'fix_object_insertion' into backing_encapsulation