Stricter Profile merging

Checks for equality of Profiles before merging, which means same Lucene Details string
and same component lists