Re-organized the 'locale-forwarder.js' code to make it testable, plus
created stand-alone in-browser spec tests for 'locale-forwarder.js' that
currently must be run manually.