Enforce uniqueness of country and school in CountryPreference model.

Resolves #329, Closes #343.