Get an array of ParamSpec* for all properties of a class.
a ObjectClass
return location for the length of the returned array
an array of ParamSpec* which should be freed after use