FIX: some issues with priority not being propagated to components

causing issues with components ordering
replace newLinkedHashSet by an ImmutableSet.copyOf when returning components

as recommended by the documentation, these Sets are not supposed to be mutable anyway