Make the title-case button cope with hyphenated names
Make the title-case button cope with hyphenated names

The toTitleCase function previously would lower-case the second name in
a hyphenated surname or the part of the name after an apostrophe. This
new version fixes those problems.

This is the rest of the fix for #1042

DemocracyClub/yournextrepresentative,DemocracyClub/yournextrepresentative,DemocracyClub/yournextrepresentative