Rename aclocal.m4 to acinlude.m4 and include make target

It is common practice to split up m4 files for easier maintenance and
generate the required aclocal.m4 using `aclocal` instead.
Specify package name and version in call to AC_INIT
Properly quote m4 macro
Use AC_CONFIG_LIBOBJ_DIR and AC_REPLACE_FUNCS to adhere to autoconf standards
Remove dead targets from build system
Properly quote arguments for AC_LIBOBJ.
Check for perl and assign it to a var since it is needed for generating the protocol header.
Ignore .deps directories.
Use AS_IF instead of plain if/then/fi
Introduce automake.