XML documentation fixes. Fixes unescaped entities and incorrectly specified targets. Removes tags for parameters that don't exist.
Re-added removed comment for 'mod' as 'state'.
Merge pull request #321 from leonard-thieu/well-formed-xml

XML documentation fixes.