Closing #6635,  patch applied
Closing #6833, applied patch
Fixed bug #7743 invalid encoding asccepted as valid
Fixed #7701 missing "std::" in some places, problem on
platforms like QNX, Blackbarry
Closing ticket #7368, fixed typo
Added missing endcond that screwed documentation generation.
Fixing #7734
Comment typo patch, closing #7762
Closing #7386
Applied recommeded changes
Closing 7820