[#2212] CID26223:

changed ifdef structure to not generate code after unconditional returns
[#2212] CID26008:

Removed unreachable code, minor refactor for readability and consistency
[#2212] CID25984:

Corrected the return value from parseXmlValue to be signed, did a minor
refactor to restrict scope of variables to where they're used.
[#858] update HasherTest
[#2222] [#2212] CID26083 and Major refactor of the hasher