Add locale setting and available locale getting methods to api.

Implement new methods in unix backend.
Add empty methods in other backends.
Updated test widget application to use new api.

Change-Id: I889f93574f91ce70b0571cb72a5d1041d8c5c720
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>