move common build setup stuff to a common directory to use
There are build issues that would need to be fixed across all modules. Also,
various modules have slightly different build setups (compare autogen.sh). The
nice way to fix this is to put everything that can be shared in a "common"
subtree that gets pulled in by each of the subprojects.
Doing this would allow me to refine and solve various issues, like the
mkinstalldirs problem for gettext, and making autogen.sh a bit smarter.