Improve autotool magic for multi OS support

- Increase readability of configure.ac
- Makefile target for doxygen
- Fix configure warning "accepted by the compiler, rejected by the preprocessor" on OS X and FreeBSD
- Unify checking for libpcap, libgsl, curl, and xmlrpc-c