Add "locale" parameter to query_string and simple_query_string

Both default to `Locale.ROOT`

Fixes #5128