Remove support for Ruby 1.8.7, test on Ruby and JRuy HEAD.