Rename toHashid to encodeHashid and fromHashid to decodeHashid to more closely
coincide with standard naming conventions.

Convert documentation to use encode and decode methods and put Scala idiomatic
syntax in a separate section.