Give `displayName` for all compositeComponent spec functions

Previsouly it was only given to a subset of the functions on the spec.

This will help #2039

@crm416 @zpao