Discovering and accumulating all @Profile meta-annotations

Issue: SPR-10812
Polishing