Remove support for Ruby 1.8.7

Ruby 1.8.7 is now officially deprecated, so it's not worth the effort to
offer ongoing support.
add redefine_constant spec helper to eliminate warning
rename spec User method to distinguish from the attribute name
add beanstalk install to .travis.yml
Update test suite's ActiveRecord dependency from 2.3 to 4.0