CB-7972 Add cordova-plugin-globalization support for Windows platform

Addressed code-review notes:
* Extracted common code into Core class
* Refactored the code
* Added comments
* Updated the docs