#1269075 - Names containing an apostrophe (') are displayed as Name (Nam...

Bug #1269075
The `$name` variable is compared to the surname extracted for the individual, to decide whether or not to display the potential different surname in brackets.
However; `$name` goes through the `WT_Filter::escapeHtml` filter whereas `$primary_name['surname']` does not, which is a problem when comparing a special character with its equivalent HTML (for instance the quote ')