Here we go again

Geonames is now fully working and will only look as far as is defined by
the config as GeoNamesLoopGiveUp.
Broken attempt at creating a geonames benchmark script.
Removed unneeded table name variables since everything is static now.
Most parts of the AP Info page are working, except the Export links and
the associated lists part.
Fixed the redirect after cookies are being created for the first time of
a first site visit.