Change feature tests to use json and fix ruby 2.x.
Add new step definition.
Fix spec result dependency for jruby.