require the hashring library properly

Hello @myself, 

Please review the following commits I made in branch 'xiao-require-bug'.

fbbdd6d5ec6962d0d2c618ebeb46298529794d8a (2014-01-20 17:31:13 -0800)
require the hashring library properly

R=@myself