Cleanup old test system

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Remove old tests and add tap library

The old tests were broken with the new code base. Also, the new tests
will use libtap that is quite a standard lib. to use for test management
providing a known standard output format also. Both C lib. and a bash
one is added.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add DNS resolution test

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add tests to make check

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: add missing files for make dist

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Remove unused and old files

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Update torsocks.1 man page

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Update torsocks.8 man page

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Update torsocks.conf man page and example

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Update documentation Makefile

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add proper usage message to torsocks shell script

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Minor fixes in man pages

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Revert "Optimize onion pool search by IP addr"

Without anything in the pool, this causes a segfault. Reverting patch
completely.

This reverts commit 826007d5a3110dac36d8c6ff8b88f060c80994ea.
Change torsocks config dir by adding /tor

Signed-off-by: David Goulet <dgoulet@ev0ke.net>