Added class for property.
Added iterator for properties.
Added test for propertiesOf method. Fixed implementation and added comment about property 'class'.