replacing hash() with md5 from hash lib

this fixes eve-val/evelink#168, tested with python 2 and python 3.

hashlib md5 is a bit picky what it takes.. I tried bytes and strings but looks like this is the easiest thing that works with py2 and py3