Normalize incoming country codes

As with most real-world data sets, the data ain't perfect - we get country
codes that are uppercase, lowercase, and with various comments attached to
them.  Let's try to make things a little bit nicer.

Fixes #51 and fixes #53.