Enable GCC warnings, and add ./configure --enable-werror.

Developers should use ./configure --enable-werror so that the
new warnings are turned into hard errors.