added proper .gitignore file
updated configure.ac to support automake 1.13 and later
fixed 'make check'