Ruby 2.0 fixes.

Also upgraded to libmemcache 1.0.16.