more generic propertymanager to reduce duplicated code
remove unused code
Update propertymanager.cpp
Update propertymanager.cpp
Merge pull request #463 from voxelinc/more_generic_propertymanager

More generic propertymanager