Add HashCode (de)serialization support.

Deserialization accepts mixed case hash code strings.
Serialization produces lower case hash code strings.
Merge pull request #56 from Stephan202/hashcode-support

Add HashCode (de)serialization support.