Adding the ability to set and get locale

This pull will add the ability to set and get locale to system settings.  
Please unify the oneline code in condition, according chromium C++ coding style, please use style as
```
if (property)
  g_variant_unref(property);
```