port the geoip plugin to pygeoip

also grab the database path from the configuration file