Add ellipses to Rebuild/Clear Index buttons in prefs

And add punctuation.ellipsis localized string
Make Esc (or clicking X on Windows) cancel Rebuild/Clear Index

Previously the secondary actions were being triggered, with no way to
fix that due to https://bugzilla.mozilla.org/show_bug.cgi?id=345067