Refactor and improve hash module (#372)

* [core] refactor and improve hash module

* [core] rename hash_raw[_using] -> hash_bytes[_using]

* [examples] fix runtime-storage contract example
15 jobs for master in 6 minutes and 34 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Check
passed #439624
linux-docker
check-std

00:01:07

passed #439625
linux-docker
check-wasm

00:01:06

 
  Workspace
passed #439626
linux-docker
build-std

00:01:19

passed #439627
linux-docker
build-wasm

00:01:39

passed #439629
linux-docker
clippy-std

00:01:18

passed #439630
linux-docker
clippy-wasm

00:01:36

passed #439631
linux-docker
fmt

00:00:14

passed #439628
linux-docker
test

00:02:42

 
  Examples
passed #439634
linux-docker
examples-clippy-std

00:01:20

passed #439635
linux-docker
examples-clippy-wasm

00:01:02

passed #439636
linux-docker
examples-contract-build

00:00:27

passed #439633
linux-docker
examples-fmt

00:00:16

passed #439637
linux-docker
examples-generate-metadata

00:00:22

passed #439632
linux-docker
examples-test

00:01:15

 
  Publish
passed #439638
linux-docker
publish-docs

00:00:57