Adding the ability to set and get locale

This pull will add the ability to set and get locale to system settings.  
Sorry did not notice this, since you do not have any class for above two functions, I'd prefer to limit them into a namespace, for eg `namespace system_settting`