Modernise Autoconf

Rename configure.in to configure.ac: http://stackoverflow.com/questions/3782994/any-difference-between-configure-ac-and-configure-in-and-makefile-am-and-makefi

Simplify autogen.sh: https://github.com/stump/libsmf/blob/master/autogen.sh