Added .gitignore on the modules branch.
Added changes for the modules build.

Changed configure.ac and the Makefile.am files to support both the
standard build and the 'modules' build. Added a new template version
of bes.conf(.modules.in) that is used by the bes configure script
when the --with-dap-modules option is given.