Added autoconf options "static", "dev", and "debug"

Also reworked the Makefile, top-level configure, and build_dist_tarball
script.

Top level Makefile now just runs ./configure

Top level configure now passes through any arguments given to it, but
prefixes them with --enable-debug and --enable-dev.  This allows
overriding them with --disable-debug etc. and allows --help etc to work

The built makefile now has CFLAGS that depend on --enable-debug, and
includes the dev_rules.mak file based on --enable-dev.

Also reduced the amount of GNU-specific make language I was using.

refs #5