Fix for post_init signal to receive correct state of _created flag.
Fix setting of _created flag in base.Document constructor
Add testcase
Merge pull request #635 from SergeChmelev/master

Fix for post_init signal to receive correct state of _created flag.