cleanup class metadata to make isCollectionValuedAssociation work

stumbled over a couple of issues while using the metadata for the phpcr-bundle form type guesser.