This is not GNU
mimic autoreconf order
m4/ is required by some versions of aclocal
Reorganise code

Make lookup_common() workspace agnostic and fix handling of unsupported
types. Reverse lookup() arguments, path then ip.
Test some error scenarios
Support multiple concurrent geoip2 databases