Implement tabulation hashing for integral types and refactor hash related files. Fixes #87.
Merge branch 'issue_87'