Add countries.

This entails showing country flags in the template and country codes to
the API output.