Create m4 directory

Fixes `autoreconf -fi` from vanilla source. The .gitignore file is needed for Git to keep the directory.
Fix deprecated macro `AM_CONFIG_HEADER`
Merge pull request #16 from TimothyGu/patch-1

Change from deprecated AM_CONFIG_HEADER to AC_CONFIG_HEADERS; create m4 directory in git tree.