Add HR_UNUSED macro to mark unused named params.

This is a workaround for the case where a parameter is documented but
unused.  This keeps Doxygen and the compiler (with -Wextra or /W4)
happy.
Fix unused parameter warnings.

Also marked functions with the override keyword.