add hash function

Signed-off-by: xiehuc <xiehuc@gmail.com>
add with libev optional

Signed-off-by: xiehuc <xiehuc@gmail.com>
0.2a release

Signed-off-by: xiehuc <xiehuc@gmail.com>