Create type definitions for Hasher.js

Inspired from crossroads definition, here is a definition file for
Hasher.js