Avoid segfault on property access for incompletely initialized objects
If the object tree is not completely initialized, do segfault, but raise an error.
This check is similar to what's already done in pygi-object.c and pygobject-object.c.
Fixes #117 (closed)