initial commit

The code here is intended to replace the lib/hash*.js file in
https://github.com/yahoo/express-yui/pull/27