Made propertyValuesArray() and resourcesMatching() more efficient by using array reference instead of copying.
Added a $value property to hasProperty()