Add aslookup feature

Optional lookup ASLOOKUP to look up an AS (Autonomous System) number.
Compiling with --with-GeoIP adds 2 command line parameters and 1 extra
SQL keyword.

- Usage
packetq -c -s "SELECT COUNT(*) as count, ASLOOKUP(src_addr) AS asnumber FROM dns WHERE qr=0 GROUP BY asnumber ORDER BY COUNT DESC LIMIT 10" -g GeoIPASNum.dat -G GeoIPASNumv6.dat dns.pcap
This generates the top 10 of querying networks.

- Extra dependencies
libgeoip C API  (https://github.com/maxmind/geoip-api-c)
AS lookup databases can be downloaded from http://dev.maxmind.com/geoip/legacy/geolite/

Tested on Ubuntu 12.04 and 12.10
Add testing pcaps to gitignore
Add cclookup feature and rework -g/-G

In addition to ASLOOKUP, also add CCLOOKUP to look up the country
code for an IP.

Change -g: -g now takes a directory that should contain all the
GeoIP databases (GeoIP.dat, GeoIPv6.dat, GeoIPASNum.dat and GeoIPASNumv6.dat).

Thanks to Christian Egger from nic.at for the idea and initial code.