Ratio type implementation

This type won't make the first release, but for a remainder, I'll make a pull request.

The pull request adds ratio type mapping. Ruby's Rational class will be accepted for write. The #ratio tagged value will be converted to Ruby's Rational class for read.