Add configure script
Add autotools build cruft to .gitignore
More tuning and fixes for the new build system.
Merge pull request #1 from vgeddes/add-configure-script

Add autconf configure script and rewrite Makefile