OrderedHash is only needed by Ruby < 1.9; remove
Don't stringify keys so many times
class_inheritable_accessor is gone in Rails 3.2
Remove superflous use of `self`
Remove 1.8-specific Hash key check

Object#singleton_methods always returns a symbol-indexed Hash on 1.9
Simplify version check