Fix if regexp is empty string or null char
Fix spelling mistake
Delete all AppleDouble encoded Macintosh file
Add missing autogen.sh, shtool and configure.ac.stub

These files are are needed to bootstrap the build, copied from
darkrock/ferite.git.
Remove autotools-generated files and tell .gitignore about it
Delete auto-generated configure.ac
Delete modules-config.m4 as it is generated by modules/build_modules.sh
Add missing makefiles for rmi module

Copied from darkrock/ferite.git