Persist search fields across requests for sales total report

Fixes #3906
Make product variants thumbnails selection more specific in JS
Sorts country list correctly with accents

Fixes #3911
[frontend] Wait a couple of seconds in address_spec for poltergeist to catch up with latest changes
Wait until jQuery AJAX requests complete before checking page