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
add beanstalk install to .travis.yml