Replace adamantium with ice_nine

* Currently adamantium isn't being used by the library, while
  ice_nine is.
Fix code to work with BasicObject descendants

* In Ruby 1.9 BasicObject is the top-most object, and it does not
  have #kind_of? so we use BasicObject#=== instead.