switches from manual make files to automake
adds GNU style files
adds configure script
adds configure.ac script
improves .gitignore to ignore various autoconf files