Made several improvements to l10n.js to facilitate fallbacks.

Changed several tests to accommodate the changes to l10n.js.

Added tests for language and region fallback.