Remove files which get generated by autoreconf

Having the old files around was causing some warnings with modern
autoconf, and it should be completely unnecessary to keep these files
around. The only consequence is that autoreconf takes a second or so
longer the first time one runs autogen.sh.

Also update the gitignore file accordingly

Signed-off-by: Sebastian Hahn <sebastian@torproject.org>
Allow compilation to succeed on OSX

Fix a few instances of unportable Code:

 - make the get_current_dir_name() call dependant on a configure check

 - make time logging code use casts to long uniformly

 - include some headers where needed

 - replace assignment of '\0' with NULL so modern clang doesn't complain
   about assigning null pointers via expressions evaluating to zero

Signed-off-by: Sebastian Hahn <sebastian@torproject.org>
Allow "make check" to succeed on OSX

Fix a few instances of unportable code by replacing uint with unsigned
int and changing function pointer casts for signal(). Fix up some header
includes.

Signed-off-by: Sebastian Hahn <sebastian@torproject.org>
Fix "make check" compile error on Debian stable