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

https://github.com/concrete5/concrete5/pull/1215