Add cleanup and version detection to JRuby role, bump JRuby version.