Remove the m4 directory from the ignore file

The m4 directory is ignored in the repository, but this means that
autogen.sh might fail if it doesn't exist. Remove it from the ignore
file and add the generated files that we don't want in the repository to
a local ignore file.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>