Fix the country code case issue

If the locale is en-US, jquery.i18n was wrongly looking for messages
mapped to en-us and returning without resolving.

Fixed this and added tests

Fixes issue #50