Ti.Locale implementation in pure JavaScript

This pull request proposes a Ti.Locale implementation, which is backported from the Tizen repository. A document that describes the implementation on a high level is available here: 

https://github.com/appcelerator/titanium_mobile_tizen/blob/master/docs/Locale%20updates.docx