added custom lookup option

Hi Alex,

You may find here a PR to allow creation of custom lookup.
This could be handy to search in a local database for geolocalization.
With pull request 346 allowing failover lookup, you may find in a database and search on google only if needed.