Added AbstractCollectionAttributeType and factored several functions into it that
greatly simplify the CollectionAttribute objects.