Refactoring
Added missing Z_ADDREF_PP
Merge pull request #777 from sjinks/object-refactoring

Refactor property related code a bit