Include upserted objects in writeresult.
Merge pull request #54 from nilstgmd/feature/upsert_return_correct_n

Include upserted objects in writeresult.