Update main autoconf

Better check for -Qunused-arguments

Pass -Wdocumentation if supported by the compiler, this allows clang >= 3.2 to parse the doxygen documentation and emit warnings if it doesn't match the code.
Fixup doxygen comments to pass new check