Merge pull request #8259 from vitorgalvao/fix-8256

Add YourKit Java Profiler 2014 (build 14114)
read RbConfig in doctor.rb

instead of depending on Homebrew-defined constant.  This
is simpler now that we assume Ruby 2.0
require mocha/api for RSpec tests

to be removed from Homebrew-fork
strip down testing_env.rb from homebrew-fork