Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues.
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.