Converted project to use auto tools. Started adding tests. Various other
changes.