make `Element#inspect behave the same way in Ruby 2.0

As of ruby/ruby@fd7dc23d281f, `Kernel#inspect` no longer uses `to_s` if it's defined.