CB-6962 Ported globalization tests to framework

Tests will not be pulled into project with inclusion of plugin. Pending
changes to tooling to run with --test.
Added test to complete CB-7064, added tests that check for W3C compliance in language tags generated from PreferredLanguage and GetLocale methods
Merge pull request #1 from eweit/ericCdvtest

Added test to complete CB-7064, added tests that check for W3C complianc...
Clean-up: removed duplicate code
Renamed test dir, added nested plugin.xml
Merge branch 'cdvtest' of https://github.com/stacic/cordova-plugin-globalization