Use handcrafted 'autoload' instead of automated 'require' statements
Restrict RDiscount dependency to the MRI platform

It cannot be installed under JRuby because of C extensions.
Add support for the latest master of JRuby

Fall back to monkeypatching String because refinements are not yet
implemented on JRuby.