Allow Passing string to getAttributeValueObject

Allow passing string to `Collection::getAttributeValueObject()`

This is intended to line up interface more closly with User and File
objects
Merge pull request #1227 from mkly/add_remo_patch_collection_get_attribute_value_object

Allow Passing string to getAttributeValueObject