./Config fixes

Rewrote dmalloc checks of the code, this should avoid the ./configure
script saying its building with dmalloc when its not installed.

./Config script clean up and bug fix, where some questions it did not
use the cache setting for a defaulting answer, it would default back to
script settings.