add autogen.sh to simplify build
add distclean target
update gitignore
make distclean invoke clean