add getExtendedAttributesQuery() for content bean and iterator
Merge pull request #1127 from stevewithington/develop

add getExtendedAttributesQuery() for content bean and iterator