Cherry-pick fixes from bugfix/9961_wrongMDBinning into next

Changes:

    refs #9961 Spelling errors.
    (cherry picked from commit 5bd671baa680e25f16a3a0399dc3a7b3a8ad3ae8)

    refs #9961 This should fix the issue
    (cherry picked from commit d54cf3d6066939b765b535b8996e208c43a41db7)

    refs #9961 unit test for the changes
    (cherry picked from commit 211c96b91841e58dd2c033a20f9806c55e666187)

    refs #9961 Doxygen errors
    (cherry picked from commit 854336a33c718b0943216e2eef22b4e9ca2e04f5)

    refs #9961 Compiler warnings
    (cherry picked from commit 61a8a1ff0ca417e15e62823a1d74adfd3a886a5c)