Foam audit

Enable -Waudit for library builds as well as test programs. I found that after recent changes, the compiler segfaulted on -Waudit. I couldn't reproduce it, so I enable this globally, hoping that bugs will get through less easily.