Provide instance_eval for tests in case it's missing

An issue with recent version of JRuby, see: https://travis-ci.org/rails/jbuilder/jobs/8699816
Allow CI failures for ruby-head

See: https://twitter.com/travisci/status/352451358563110915