update:
- add hash function class + unittest.
- update gitignore file.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>