Change to use the 18 parser for jruby in 1.9 mode
Refactor Yardstick::Document#summary_text to be simpler