Only run encoding specs when Encoding is defined

So, not when in 1.8.7 mode.
Default to JRuby 1.7.2, but create 1.6.7 gemset for compatibility testing