Add lots of unit tests with testthat

For my own use, I made a lot of unit tests with Hadley Wickham’s `testthat` package. You may use them if you like. 

I removed existing unit tests from `countrycode.R` and deleted the man page for `countrycode_test()`.

Sorry about the messy commit history; I’m new to Git.