Tests for buggy object creation with preset PK

There is a serious bug causing ConcurrentUpdate be raised
whenever a new model instance is to be saved with the PK
value set in advance. The added test catches the bug.
Fix buggy creation of object with preset PK
Merge pull request #3 from knaperek/master

Fixed a bug raising ConcurrentUpdate when saving a new object with preset primary key