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

Refactored JS proxy
Fixed getDatePattern so that it takes into account user locale both in Windows and WP8 platforms (it worked only in WP8 initially)
Added GlobalizationError handling in Cordova.BaseCommand hook class