Record country contributions

I have added support for estimating the percentage of contributions from particular countries to each wiki page. This is done first by extracting the IP address of anonymous contributions (previously ignored) and mapping IP-to-country.

NOTE: no country information can be readily extracted from registered users.
Use INT value, together with inet_aton and inet_ntoa (from MySQL or Python) to speed up queries.